+ 2

I really didnt understand the Inline thing and the Block element

17th Jul 2017, 4:28 AM
Max Ringnalda Quiros
Max Ringnalda Quiros - avatar
2 Antworten
+ 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>
17th Jul 2017, 4:32 AM
kashish
+ 1
Thanks kashish
17th Jul 2017, 4:49 AM
Max Ringnalda Quiros
Max Ringnalda Quiros - avatar