html block elements are: 1. "
..."; 2. "... "; 3. "< ;h1>..."; 4. "
"; 5. "...
"; 6. "" and so on. </p></blockquote> <p><img src="https://img.php.cn/upload/article/202104/12/2021041210092239384.jpg" alt="What are the block elements of html?" ></p> <p>The operating environment of this article: Windows7 system, HTML5&&CSS3 version, Dell G3 computer. </p> <p>Most of the elements in HTML (Hypertext Markup Language) are "block-level" elements or inline elements. A block-level element takes up the entire space of its parent element (container), thus creating a "block". Usually browsers will add a new line before and after block-level elements. </p> <p><strong>HTML block element description: </strong><br></p> <ul style="list-style-type: disc;"> <li><p>Always start on a new line</p></li> <li><p> Both height and width are controllable</p></li> <li><p>When the width is not set, the default is 100%</p></li> <li><p>Block-level elements can contain block-level elements and inline elements</p></li> </ul> <p><strong>HTML block elements:</strong></p> <p>Block-level elements: Block-level elements are mostly structural tags</p> <p>< address>...</adderss></p> <p><center>...</center> Address text</p> <p><h1>...</h1> Title 1 Level</p> <p><h2>...</h2> Heading Level 2</p> <p><h3>...</h3> Heading Level 3</p> <p>< ;h4>...</h4> Title level four</p> <p><h5>...</h5> Title level five</p> <p><h6>...< /h6> Heading level six</p> <p><hr> Horizontal dividing line</p> <p><p>...</p> Paragraph</p> <p><pre class="brush:php;toolbar:false">.. .Preformatting...Paragraph indentation is 5 characters before and after...
Unordered list...
Ordered list...
Definition list...
Table