In-line elements

A number of HTML elements are in-line elements, meaning that they do not break the flow of text onto a new line (except in one case). These elements modify the style of the text or identify the nature of a range of significant characters.

The Tt (teletype) element specifies a monospaced font such as Courier. The B (bold) element specifies a bold typeface. The I (italic) element specifies an italic typeface:

<P>This paragraph contains <B>bold</B>,
					<I>italic</I> and <B><I>bold/italic</I></B> text.</P>

This paragraph contains bold, italic and bold/italic text.

Strong normally maps to bold typeface and Em (emphasis) to italic typeface. The computer sample elements Code and Var, as well as the Kbd (keyboard) element, normally map ...

Get XSL companion, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.