+ 3
What are inline elements and block-level elements in HTML?
3 Réponses
+ 6
inline elements are used to make the things like not start from a new line. So inline elements never start from a new line.But block level elements always start from a new line.
Hope I helped you happy coding;
+ 4
You already completed HTML course. You can check back on lessons. Do some research before asking questions.
happy learning✌️
https://www.sololearn.com/learn/HTML/1034/
0
Block elements are the blocks that take the full available width and always start from a new line. It will stretch itself to the full available width of the available container width. Block-level elements are <div>, <p>, <img>, <section> and many more.
Inline elements are the elements that will only take the width that is required to fit into the container.