An HTML document consists of HTML block-level or inline elements. An HTML block-level element always starts on a new line, and spans left and right, As far as possible. It occupies the entire horizontal space of the parent element, whose height is equal to the HTML content. Typically, users use two common block elements. These are HTML <div> and <p> tags. We will discuss some of the standard HTML block elements in the following sections.


An example of an HTML block-level element:

<div>HTML div tag is a block-level element.</div>
<p>HTML paragraph tag is a block-level element.</p>

Some HTML Block-Level Elements are as follows:

<address> <article> <aside> <blockquote> <canvas>
<dd> <div> <dl> <dt> <fieldset>
<figcaption> <figure> <footer> <form> <h1> to <h6>
<header> <hr> <li> <main> <nav>
<noscript> <ol> <p> <pre> <section>
<table> <tfoot> <ul> <video>