introsubmainglosscontact
arrow left arrow right

    Style Tags

    This lesson gives only a brief look at style tags. Students are required to try out the different style tags and to save their work.
    You will be required to send the resulting html source code in the training report sheet below.

    The four most commonly used forced style tags are very simple:

    <B> Boldface
    Everything between and is boldfaced.
    <I> Italics
    Everything between and is italicized.
    <U> Underline
    Everything between and should be underlined; however, see the note below.
    <TT> Typewriter Text
    Everything between and is in typewriter text (a monospaced font in most browsers). This is typically used for variable names, or to show snippets of HTML.

    Exercise:

      Now to construct some text that uses these style tags, this will give you some practice before you properly construct your web page.

      note

      The HTML 2.0 Specification does allow the mixing of these styles, but does not require that a consistent appearance be maintained. In other words, different browsers will display combined styles differently. Some will pick one or the other style, others will not display either, and a few will simply crash.

    Horizontal Rules

    The horizontal rule is a pretty useful effect. Horizontal rules are not allowed within headings. The tag, which is empty, is <HR>, and produces the following:


    This is a quick, nearly painless way of throwing in a section divider.


    training report sheet

    Use the information already covered to answer the following questions:-

    Email address

    Name


    1 Text is boldfaced using:

    <bold>
    <B>
    <b>
    <boldface>

    2 The underline tag will cause text to be underlined in all browsers.

    True
    False

    3 In <HR>, the HR stands for:

    Horizontal Runes
    Hunting Regulations
    Happy Romulans
    Horizontal Rule

    5 Place the source HTML code from this session into this box.

arrow left arrow right
introsubmainglosscontact