A Complete Guide to Web Design

(やまだぃちぅ) #1
Summary of Text Tags 105

Formatting
Text

Summary of Text Tags

Web Design in a Nutshell, eMatter Edition

NN: 2, 3, 4- MSIE: 2, 3, 4, 5- HTML 4 -WebTV- Opera3


...


Indicates an acronym. It has no inherent effect on text display, but can be used as
an element selector in a style sheet.


Attributes


title=string
Provides the full expression for the acronym. This may be useful for non-
visual browsers and search engines.


Example
WWW


NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3


...


Enclosed text is rendered in bold.


NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4D- WebTV - Opera3



Specifies certain font attributes for text following the tag. It can be used within the


tags to apply to the entire document, or within the body of the document
to apply to the subsequent text. This tag is not part of the HTML standard.

Attributes


color="#rrggbb"or name
MSIE 3.0+ only: Sets the color of the following text using hexadecimal RGB
values.


face=font
MSIE 3.0+ only. Sets the font for the following text.


size=value
Sets the basefont size using the HTML size values from 1 to 7 (or relative
values based on the default value of 3). Subsequent relative size settings will
be based on this value.


NN: 2, 3, 4 - MSIE:2, 3, 4, 5 - HTML 4 - WebTV - Opera3


...


Sets the type one font size larger than the surrounding text. It is equivalent to
.


NN: 2, 3, 4 -MSIE: 2, 3, 4, 5- HTML 4- WebTV- Opera3


...


Causes the contained text to flash on and off.