+ 2
I really didnt understand the Inline thing and the Block element
2 Answers
+ 5
Every HTML element has a default display value depending on what type of element it is. The default display value for most elements is block or inline.
A block-level element always
starts on a new line
takes up the full width available
Examples of block-level elements:
<div>
<h1> - <h6>
<p>
<form>
An inline element
does not start on a new line
only takes up as much width as necessary.
Examples of inline elements:
<span>
<a>
<img>
+ 1
Thanks kashish