Talk:HTML/Elements/u

From W3C Wiki
Revision as of 14:24, 15 December 2011 by Dlong2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

IMHO a bad example. Consider the following.

Hello <u>underlined</u> world

Your suggestion:

Hello <p style='text-decoration: underline;'>underlined</p> world

In this scenario a better solution would be:

Hello <span style="text-decoration: underline;">underlined</span> world

But actually I think span has some limitations on it's use. Can it be used in tables or divs? Unfortunately I don't know any better methods. If they exist please can someone provide them, that's why I came here.

Dave Long 14:24, 15 December 2011 (UTC)