How do we identify | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do we identify

inline and block elements.

21st Apr 2017, 4:38 PM
stephen haokip
stephen haokip - avatar
1 Answer
+ 2
There is no way to identify at a look. Most developers do use some reference to know. However inline elements will be arranged side by side in the html(ex: text). Block level element occupy the whole width and will not allow other items in side by side. Have a look at this guide( http://www.w3resource.com/html/HTML-block-level-and-inline-elements.php )
21st Apr 2017, 4:45 PM
Nijesh NJ
Nijesh NJ - avatar