There are 28 block elements to write HTML documents. Block elements are by default stacked on top of each other, whereas inline elements are used inside block elements and displayed along the same line.
to display contact information
to wrap independent content
to quote another source
to group other tags (also known as generic block)
to display a caption corresponding to a figure
to tie an illustration to a caption
-
to display titles and subtitles (headings) ; the bigger the digit, the more important the title
to display a header, generally at the beginning of a section
to separate content with a horizontal rule
to display a list item
to highlight the main part of a HTML document
to create an ordered list (e.g numbered list)
to write a paragraph (default text)
to preserve spaces and line breaks from a preformatted text (useful to display computer code)
to organize content into sections
to display a table
to add a footer to a table
to add a header to a table
to wrap table data
to display unordered list (e.g bulleted list)
Block elements are important to organize HTML documents in a way the browser can easily understand and interpret. A good understanding of these tags allows you to improve your website’s search engine optimization (SEO) and become easier to discover on the Internet.