In the book I'm using to study HTML it says and I quote "<h1>,<h2>,<hb>,<p>, and <blockquote>
, are all block elements. But what is the block element <hb>
? I can't find anything up on this element if its even a element.
CodePudding user response:
There is no "block" element in HTML.
The book is referring to the default styling applied to the elements by the browser. This article explains the difference between the two types of elements (block and inline).
CodePudding user response:
"p" and "div" are block elements and they take the full width available automatically.