Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Underline text

Status
Not open for further replies.

khue

Programmer
Mar 6, 2001
112
US
Does anyone know how to underline a text or a phrase of text in HTML?
 
or you could use the style definitions...

<style>
p {text-decoration:underline;}
</style>


the above will make all your p tags be underlined.

or you can make a special class for underlined text...

<style>
.under {text-decoration:underline;}
</style>

<span class=&quot;under&quot;>this is underlined.</span> this is not.

luciddream@subdimension.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top