u Element

Description

The u element marks text by adding underline. Its style Convention:u { text-decoration:underline;}.

The style convention for the u element is similar to that for the a element.

Example

The following code shows the u element in use.


<!DOCTYPE HTML>
<html>
<body>
  <u>HTML5</u> is good.
</body><!--  ww  w.  ja v a  2s .  c  om-->
</html>

Click to view the demo





















Home »
  HTML CSS »
    HTML »




HTML Introduction
HTML Document
HTML Section
HTML Group Content
HTML Text Marker
HTML Table
HTML Form
HTML Embed