Inline Element in HTML?

HTML (Hypertext Markup Language) elements are usually inline elements. An inline element occupies only the space bounded by the tags that define the inline element.

Examples of inline elements:
<span>
<a>
<img>
 
The <div> element is a block-level element that is often used as a container for other HTML elements. The <div> element has no required attributes, but style and class are common.
 
inline" elements. A block-level element occupies the entire space of its parent element (container), thereby creating a "block."
 
Back
Top