Forum Moderators: open
inline:
hi <span style="text-decoration:underline">this text is underlined</span>
or
in a stylesheet:
in a file called style.css you'd have:
.underlined{ text-decoration: underline ; }
on your page you have a link to the stylesheet in the head section
<link href="style.css" rel="stylesheet" type="text/css" media="all" />
and for the text
hi <span class="underlined">this text is also underlined</span>
I would suggest you hang around the CSS Forum [webmasterworld.com]
Using dreamweaver you also have a built-in stylesheet creator
Top bar: Window > CSS Styles (or shift + F11) to help you along the way