HTML5, CSS3 & JavaScript | Using Anchor tags & Attributes Structure with Values | Chap-2 | Part-8

Опубликовано: 19 Март 2026
на канале: Nafis's Classroom
447
0

In this lesson, we will at first finish off the discussion on HTML comments. Then, we will head over to understanding how to link a remote resource, like social links, with our web page. To put up linking texts or contents, we can use the anchor tag or more commonly written as the 'a' tag. Anchor tags can be placed anywhere inside a document tree and they will need to have the URL placed as a value to the href attribute. While we look on to the explanation of the anchor tag, we will briefly understand the structure of an HTML attribute and functionality inside the HTML markup. Attributes will have a name and they will usually take up a value. A value, like the URL, for a facebook page is assigned to the attribute using an equals to sign and will have to be enclosed in double quotation marks.