...
"; 6. "" and so on."/> ..."; 2. "... "; 3. "...
" ; 4. "
"; 5. "...
"; 6. "" and so on.">Home>Article>Web Front-end> What are the block elements of html?
What are the block elements of html?
- 藏色散人 Original
- 2021-04-12 10:12:09 17076browse
html block elements are: 1. "
..."; 2. "... "; 3. "< ;h1>..."; 4. "
"; 5. "...
"; 6. "" and so on.The operating environment of this article: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.
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.
HTML block element description:
Always start on a new line
Both height and width are controllable
When the width is not set, the default is 100%
Block-level elements can contain block-level elements and inline elements
HTML block elements:
Block-level elements: Block-level elements are mostly structural tags
< address>...
... Address text...
Title 1 Level...
Heading Level 2...
Heading Level 3< ;h4>... Title level four
...
Title level five...< /h6> Heading level six
Horizontal dividing line...
Paragraph.. .Preformatting...Paragraph indentation is 5 characters before and after