HTML Blocks

What is HTML Blocks?

In HTML programming, a block-level element is any element that starts a new line (e.g., paragraph) and uses the full width of the page or container.


List of a block-level elements

  • <address> - Shows contact information.
  • <applet> - Embed a Java applet.
  • <article> - Contains the article's content.
  • <aside> - Describe a section of content.
  • <blockquote> - Denote a section that is quoted.
  • <canvas> - Draw graphics using JavaScript.
  • <caption> - Add caption to table.
  • <center> - Center text.
  • <details> - Create an interactive widget to hide text.
  • <dir> - Designate a collection of file names.
  • <div> - Creates a document division.
  • <dl> - Contain a list of definitions and their descriptions.
  • <embed> - Designate an area for interactive content.
  • <figure> - Designate an area of self-contained content.
  • <header> - Create a header section.
  • <hr> - Create a horizontal line.
  • <main> - Contains the content specific to a certain page.
  • <object> - Designate an object embedded into a web page.
  • <section> - Group thematically similar content together.