+ 11
Difference between Inline and Block Elements??
I am new to SoloLearn.. While I am Playing Challenges in HTML I am so Confused of inline and Block Elements.. can you tell me about them..
3 Respostas
+ 11
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.
+ 12
Please see link below for reference to your question:
https://www.sololearn.com/Discuss/441677/what-is-the-difference-of-block-line-and-inline-i-am-really-confused
+ 1
Try it yourself
https://code.sololearn.com/WUWrSMiCq8v6/?ref=app