Posts

Showing posts with the label header

HTML semantics: understanding semantic elements

Image
HTML Semantic Elements In HTML, semantic elements clearly define their contents like <article>, <footer>, <header>, <nav>, <section>, <figure>, <figcaption>, <time>, and many more. Here's a quick rundown of some of these elements and what they signify: <article>: Encapsulates an independent piece of content of a document, such as a blog post, a forum post, or a news story. <header>: Represents a container for introductory content or a set of navigational links. <footer>: Defines a footer for a document or a section. It should contain information about the author, copyright information, etc. <nav>: Defines a set of navigation links. <section>: Defines a standalone section — which doesn't have a more specific semantic elemen...