Name

<font>

Synopsis

<font> ... </font>

Set the size, color, or typeface of the enclosed text.

Attributes

class =name

Specify a style class controlling the appearance of this tag.

color =color

Set the color of the enclosed text.

dir =dir

Specify the rendering direction for text, either left to right (ltr) or right to left (rtl).

face =list

Set the typeface of the enclosed text to the first available font in the comma-separated list of font names.

id =name

Define a name for this tag that is unique to this document.

lang =language

Specify the language used for this tag’s contents using a standard two-character ISO language name.

size =value

Set the size to an absolute value (1 to 7), or relative to the <basefont> size using +n or -n.

style =style

Specify an inline style for this tag.

title =string

Specify a title for this tag.

Get Webmaster in a Nutshell, Third Edition 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.