+ 2
How to identify the tags which are inline or block level elements in HTML?
2 ответов
+ 4
I used to see the meaning 😐And practice more.You will find it automatically.
A block-level element always starts on a new line and takes up the full width available (stretches out to the left and right as far as it can).
Example : <div> </div> it always in a new line.
An inline element does not start on a new line and only takes up as much width as necessary.
Ex: <img>
+ 1
Clear and straight forward answer my brother.