PDA

View Full Version : HTML question


klutz_monger
01-29-2002, 08:35 PM
This is a question I have as part of a assignment at school. I need at least two reply's. What is the HTML tag < U >, < /U > used for? What is its name and what features it would add to a web page.

Thanks in advange for any replies.

Klutz_monger

DrZaius
01-29-2002, 08:59 PM
Hi klutz_monger,

The U tag underlines the text it surrounds. For example,
&lt;U&gt;Hello there!&lt;/U&gt;
would result in:
Hello there!
The same thing goes for &lt;B&gt; which is bold, and &lt;I&gt; which is italic. Hope that helps.

mairving
01-29-2002, 09:27 PM
In addition, the &lt;U&gt; tag is rarely used since it is pretty easy to confuse it with hyperlinks that are generally underlined. The tag while not officially deprecated, will soon be and be replaced by stylesheets.

Gabe
01-30-2002, 12:34 AM
Sorry to argue here, but the tags have been deprecated by the W3C under the strict HTML 4.01 specification.

mairving
01-30-2002, 07:53 AM
Originally posted by Gabe
Sorry to argue here, but the tags have been deprecated by the W3C under the strict HTML 4.01 specification. Hey, that's what these forums are for. I am not suprised that they have been deprecated as they are rarely used. Of course, just because they have been deprecated doesn't mean they can't be used, i.e. font tags.

KuhnDog
01-30-2002, 09:59 AM
I belive it is an underline tag.


Code
<U>Hello Everyone</U.

Output
Hello Everyone

Hope it could be some help