Answers Search Help
Boston University home page
HTML: Introduction
 
 
    Components
 
 
 
 
 
 
    Syntax
 
 
 
 
 
    Essential Tags
 
 
 
 
 
 
 
 
    HTML Headings
 
 
    Text
 
 
 
 
    Layout
 
 
 
 
 
 
 
    Links & Images
 
 
 
 
    Publishing
 
 
    Also See
 
 

Underline

Use this tag to underline text. It can be used in conjunction with other tags (italic, bold, etc.)

The code requires an opening and a closing tag:

<u> - opening tag
</u> - closing tag

All text between the opening and closing tags will be underlined. The tag has no other effect on non-text elements.

CODE EXAMPLE:

<u><b>Be careful</b></u> when you underline text so as not to confuse your readers, who may think the underlined text is a link.

RESULT:

Be careful when you underline text so as not to confuse your readers, who may think the underlined text is a link.

NOTE: Most browsers automatically display hyperlinks with an underline, so an accepted Web standard is underlined = hyperlink. Because of this, you may wish to avoid using underlines in a situation that would easily be confused with hyperlinks.

WebCentral Using Publishing Learning Training Consulting WebCentral
Answers Search Help
NIS  |  OIT  |  Boston University  |   January 9, 2007