+ 1
What is a block statement?
I can't understand block and inline elements.
2 Réponses
+ 1
Block Elements
Block elements appear on the screen as if they have a line break before and after them. For example the <p>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <ul>, <ol>, <dl>, <pre>, <hr />, <blockquote>, and <address> elements are all block level elements. They all start on their own new line, and anything that follows them appears on its own new line.
Inline Elements
Inline elements, on the other hand, can appear within sentences and do not have to appear on a new line of their own. The <b>, <i>, <u>, <em>, <strong>, <sup>, <sub>, <big>, <small>, <li>, <ins>, <del>, <code>, <cite>, <dfn>, <kbd>, and <var> elements are all inline elements.
Info's source:
https://www.tutorialspoint.com/html/html_blocks.htm
+ 1
in block elements the element looks like separate division as in <div> p h1 but in inline block elements the element looks like the element around it like <b> <i> sup