Inline elements

Summary

"Inline" is categorization of HTML elements, as contrasted with "block-level" elements. Inline elements can appear within block-level or other inline elements. They take up the width of their contents. The differences between inline and block-level elements include:

Content model
Generally, inline elements may contain only data and other inline elements.
Formatting
By default, inline elements do not begin with new line.

Elements

The following elements are "inline":

See also

Document Tags and Contributors

Contributors to this page: PablO, keoki.zee, jswisher, Jeremie, AndreLDM, Gilchris, Mgjbot
Last updated by: Jeremie,