HTML Manual


Home Page
HTML Tags
Table Tag
Image Tag
Anchor Tag and Linking
Character Attributes
Image Maps
Frames
Forms

 

Character Tags

Logical Character Tags     Physical Character Tags

Logical character tags

Logical character tags indicate how you want to use text, but not necessarily how you want it displayed.

    Some examples of logical tags are listed below:

    <EM> indicates that characters should be emphasized in some way, usually with italics.
    Displayed as Hello
    <STRONG> emphasized characters usually is a bold font.
    Displayed as Hello
    <CODE> indicates a sample of code usually displayed in a Courier font or similar font that allots the same width to each character.
    Displayed as Hello
    <VAR> indicates a variable. Often displayed in italics or bold.
    Displayed as: Hello
    <CITE> indicates short quotes or citations. Often italicized by browsers.
    Displayed as Hello

Top

Physical tags

Physical character tags are used to indicate exactly how characters are to be formatted. Some examples of physical tags are listed below

    <B> indicates that the text should be bold.
    Displayed as: Hello
    <I> indicates that the text should be itilisized.
    Displayed as: Hello
    <BIG> indicates that the text should be displayed in a big font.
    Displayed as: Hello
    <SUB> indicates that the text should be displayed as a subscript, in a smaller font if possible.
    Displayed as: Hello
    <SUP> indicates that the text should be displayed as a superscript, in a smaller font if possible.
    Displayed as: Hello
Top