HTML Element

HTML Element

A Comprehensive Guide to HTML Elements

  1. <article>: Defines an independent, self-contained piece of content such as a blog post, news article, or magazine feature.

  2. <header>: Typically used to group together introductory content at the beginning of an article, such as a title, subtitle, author information, and publication date.

  3. <footer>: Typically used to group together concluding content at the end of an article, such as author information, copyright notice, and related links.

  4. <section>: Defines a distinct section or grouping of content within an article, such as different chapters or topics.

  5. <h1> to <h6>: Heading elements used to create a hierarchical structure and indicate the importance of different sections within an article. <h1> is the highest level and <h6> is the lowest.

  6. <p>: Defines a paragraph of text.

  7. <ul>: Defines an unordered list, typically used to list out items that don't have a specific order or hierarchy.

  8. <ol>: Defines an ordered list, typically used to list out items that have a specific order or hierarchy.

  9. <li>: Defines a list item within an <ul> or <ol>.

  10. <blockquote>: Defines a block of quoted content, typically used to include quotations from other sources within an article.

  11. <cite>: Defines the title of a work that is being cited or referenced within an article, such as a book or research paper.

  12. <a>: Defines a hyperlink that can be used to link to other content within the same article or to external sources.

  13. <img>: Defines an image that can be included within an article.

  14. <figure> and <figcaption>: Used together to group together an image or other multimedia element with a caption or other descriptive text.

  15. <div>: Defines a container element that can be used to group together other HTML elements for styling purposes.

These are just a few examples of the many HTML elements that can be used when writing an article.