HTML Tags & Semantics
HTML is not just about putting text on a screen; it is about giving that text meaning. This is what we call Semantic HTML.
The HREF Attribute
The <href> to <h6>. The The href attribute is required for a link to function. It specifies the destination URL, whether it's another webpage, a file, an email address, or an anchor on the same page. is the most important tag on the page. You should usually have only one h1 per page, describing the main topic.
Target and Security
The target="_blank" attribute opens links in a new tab. However, for security reasons, you should always include rel="noopener noreferrer" to prevent the new page from accessing the window.opener property.
Accessibility
Screen readers announce links to users. Always use descriptive link text that makes sense out of context. Avoid generic phrases like "click here" or "read more" without additional context.
View Full Transcript+
This section contains the full detailed transcript of the video lessons for accessibility purposes and quick review. It covers the hierarchy of H1-H6, the concept of block vs inline elements (conceptually), and the specific usage of void elements like br and hr.
