a column


Create Bold, Underlined and Italic Text


This page includes:

The HTML for Bold, Italic and Underline

While you're creating your web page, you'll find that sometimes you want to add a little emphasis to your text. It's simple to add bold, italic and underline effects to your web site with the following HTML tags.

Bold
The tag for bold in HTML is <B>, followed by a closing </B> tag.

Italic
The tag for bold in HTML is <I>, followed by a closing </I> tag.

Underline
The tag for underlining in HTML is <U>, followed by a closing </U> tag.

Using These Tags - A Sample Page

Below, between the dashed lines (===), you'll find a sample web page you can type in your text editor. You can preview how this looks on a web page, too.

======================================
<HTML>
<HEAD>
<TITLE>
My First Web Page
</TITLE>
</HEAD>
<BODY>
Welcome to My Home Page!
<P>
This is my first web page. I'm learning the most important HTML tags.
<P>
Now I can create <B>bold</B>, <I>italic</I> and <U>underlined</U> text on my web page.
</BODY>
</HTML>
=======================================

Tips for Using These Tags

You'll want to use these tags sparingly: overusing them undermines the impact. You can combine these tags with one another, creating bold, italic text for instance:

<B><I>bold and italic</I></B>

You can also combine bold, italic, and underline with the FONT tag.

Troubleshooting These Tags

Q. Help! My web page is all bold!
A. You're missing the closing tag. Make sure you've included </B> wherever you want your bold to end.

Q. I used the Bold tag for my web page title, but it didn't do anything. As a matter of fact, the title isn't even on the web page!
A. It sounds like you've tried to use the Bold tag within the <TITLE> tag. Remember, the text within the <TITLE> tags will go in the web browser title bar, not on the web page itself. Remove the <B> bold tag from the title portion of the document. You want to create a heading on your web page.

Create Your Own Web Adventure with the Web Diner!

All content copyright of Web Diner Inc., 2000. Do not redistribute or repost this content.
Tutorials | Home | Glossary