+ 4
What is an inline element in HTML?
2 ответов
+ 3
Inline elements won’t start a new line. They can be on the same line as other inline elements. They include span, a, and input.
The opposite are block elements which will go to a new line. They can’t be on the same line as anything. They include p and all the headings.
There are also hidden elements which are not visible and do not take up space
+ 4
HTML inline elements
1. HTML inline level elements can appear in the body of an HTML page.
2. It can contain data and other inlineelements.
3. By default, inline elements do not begin on new lines.
4. inline elements create shorter structures (than block level elements).
Inline elements in HTML:
<a> <abbr> <acronym> <b> <big>
<br> <button> <cite> <code>
<dfn> <em> <i> <img> <input>
<label> <map> <object> <q>
<samp> <script> <select>
<small> <span> <strong> <sub>
<sup> <textarea> <time> <tt> <var>