Applying HTML physical attributes to inline text
Physical text attributes let you define a style for selected text without assigning a structural classification, such as italic for text that needs special emphasis or bold for text that needs a strong pronouncement. All Web browsers interpret the italic and bold attributes in basically the same way. (For information on using CSS styles to apply these attributes, see Setting Font properties.) Physical text attributes include the following: - Plain text is the basic format for standard HTML text. It can be overridden by style sheets.
- Italic tells browsers to use an italic or oblique typeface. If the typeface is not available, highlighting, reverse video, or underlining may be used.
- Bold tells browsers to use a bold typeface. If that is not available, browsers might use something like reverse video or underlining.
- Underline tells browsers to underline text, spaces, and punctuation. (This attribute may be removed from the next version of HTML.)
- Strikeout tells browsers to put a line through the middle of text. (This attribute may be removed from the next version of HTML.)
- Superscript is used to display text one-half of a character higher than the rest of the text.
- Subscript is used to display text one-half of a character lower than the rest of the text.
- Teletype (tt) tells browsers to display text in a monospaced typeface.
- Blink is a Netscape extension for reversing the background and foreground colors of text to make text appear to blink on and off.
Note: Older browsers may not support these physical attributes other than the basic set: plain, bold, and italic.
To apply an HTML physical attribute to text: - Do one of the following:
- Select the text that you want to format. Then choose an option from the Type > Style menu, click the Bold button
, the Italic button , or the Teletype button on the toolbar, or choose an option from the Style context menu. - Choose an option from the Type > Style menu and start typing. The style remains in effect even after you press Enter or Return.
Note: Flashing text formatted with the Blink attribute is only compatible with Netscape Navigator browsers.
To remove all existing HTML physical attributes from the selected text: Choose Type > Style > Plain Text.
|