HTML Cheat Sheet
HTML Help Forum
Link to us
Underlining text can be helpful when you want to emphasize certain text on your web page.
How to do it
To underline your text, just place a <U> tag ( by the way stands for underline, obviously ) in front of the text you want to underline. Then at the end of the line of text you want to underline, place an ending </U> tag. Note the / in the ending tag, this tells the browser to stop underlining the text. This is important to add, or else the browser wont know where to stop underlining, and underline all the text after the beginning <U> tag. Get it? Good!
I want to underline the words "John's Home Page" on my web page.
My code would look like this:
Seeing this in the browser will look like this:
© 2001 TheHTMlSource.com, INC. All Rights Reserved.