👏 In this lecture, You will learn 5 different things you can do with the HTML Anchor tag.
💡 HTML Anchor tag is used to create an HTML anchor element, HTML anchor element with its href attribute, creates a hyperlink to other web sites, files, email addresses, locations in the same page, or anything else a URL can address.
💡 Content within the HTML Anchor tag should indicate the link's destination. If the href attribute is present, pressing the enter key while focused on the HTML anchor tag content will activate it.
💡 The HTML anchor tag has href attribute, target attribute, and download attribute.
💡 When we use an HTML anchor tag to create a link to another website or HTML document, the value of the href attribute will be another website's URL or the relative file path to the other HTML document.
💡 When we use an HTML anchor tag to create a link to an element on the same page, the value of the href attribute will be the id value of the element we want to link to start with a # sign.
💡 When we use an HTML anchor tag to create a link to a user's email program, the value of href attribute will look like this: mailto: 'your email address'.
💡 When we use an HTML anchor tag to create a link to a user's telephone number, the value of href attribute will look like this: 'tel: your phone number'.
💡 When we use an HTML anchor tag to create a link to download a file, the value of href attribute will be the file path to the file we want to download. We can apply the custom name to the downloaded file by applying value to the download attribute.
💯 Link for the HTML File Paths Tutorials:
👉 • ✅ HTML File Paths Tuto...
💯 Link for the complete playlist I have mentioned in the lecture
👉 • What is Hypertext Mark...
Негізгі бет ✅ HTML Anchor Tag | Learn 5 Different Things You Can Do With HTML Anchor Tag
Пікірлер: 14