Home  >  Article  >  Web Front-end  >  What are the two categories of HTML elements?

What are the two categories of HTML elements?

(*-*)浩
(*-*)浩Original
2019-08-28 15:40:396494browse

HTML elements can be combined through

and .

What are the two categories of HTML elements?

##HTML block element(Recommended learning: HTML introductory tutorial)

Most HTML elements are defined as block-level elements or inline elements.

Editor's note: "Block level element" is translated as block level element, and "inline element" is translated as inline element.

Block-level elements usually start (and end) with a new line when displayed by the browser.

Examples:

,

,