How to define blocks in HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to define blocks in HTML

How to define blocks?!

1st Jun 2018, 11:16 AM
Snowflake C
Snowflake C - avatar
2 Answers
+ 7
A block-level element is an HTML element that begins a new line on a Web page and extends the full width of the available horizontal space of its parent element. In contrast to a block-level element, an inline element can begin within a line, does not start a new line,Its width only extends as far as it is defined by its tags.  https://www.sololearn.com/discuss/1286170/?ref=app
1st Jun 2018, 11:26 AM
***
+ 2
thanks :)
1st Jun 2018, 11:27 AM
Snowflake C
Snowflake C - avatar