|
<font Sets the size, font face and colour of text. Attributesclass=type Indicates the class to which the tag belongs. You can use the class attribute in a style sheet to create different styles that you want apply to a single HTML tag. For example, you might create three different styles for a <font> tag. See Using the class attribute as a selector for more details. The font colour. Enter a hexadecimal, a red-green-blue colour value or a predefined colour name. See Using colour. dir=ltr|rtr Specifies the direction of text. This can be left-to-right (ltr) or right-to-left (rtl). For example, English characters are presented left-to-right, Hebrew characters are presented right-to-left. You can specify a list of font names. If the first font is available on the system, it browser uses it. Otherwise, it uses the second, and so on. If none of the fonts are available, a default font will be used. id=value Specifies a unique name for the tag. No two tags can have the same id on a single page. The value must begin with a letter followed by any alphanumeric character, a hyphen, an underscore, a colon or a full stop. You use it to reference a unique style for a tag or to manipulate the tag with a script. lang=language Specifies which language the <font> tag uses. You can enter any valid ISO standard language abbreviation, for example, “en” for English, “de” for German and so on. For example, <span lang="es">hola! como esta?</span>. This attribute helps search engines understand different languages as different languages rather than just misspelled English. It may also help spelling and grammar checkers and allow speech synthesizers to use language-dependent pronunciation rules. Specifies font size between 1 and 7 (7 is largest). The default is 3. A plus or minus sign before the number indicates a size relative to the current <basefont> setting. Relative font sizes are not cumulative, so putting two <font size="+1"> tags in a row does not result in the font size being increased by 2. style=style Specifies style information. See Style sheets for more information. title=text For information only. Some browsers display the title when you move the mouse over the tag (like a tool tip). |
More information |