- u element defines underlined text.
- But do not underline text too much! A user confuses it with a hyperlink!
U attrib :
- class :Specifies a classname for an element
- dir : Specifies the text direction for the content in an element
- id : Specifies a unique id for an element
- lang : Specifies a language code for the content in an element
- style : Specifies an inline style for an element
- title: Specifies extra information about an element
- onclick : Script to be run on a mouse click
- ondblclick : Script to be run on a mouse double-click
- onmousedown : Script to be run when mouse button is pressed
- onmousemove : Script to be run when mouse pointer moves
- onmouseout : Script to be run when mouse pointer moves out of an element
- onmouseover : Script to be run when mouse pointer moves over an element
- onmouseup : Script to be run when mouse button is released
- onkeydown : Script to be run when a key is pressed
- onkeypress : Script to be run when a key is pressed and released
- onkeyup : Script to be run when a key is released
U example :
| <p>Do not <u>underline</u> text if it is not a hyperlink!</p> |
origin by : w3schools.com


0 comments:
Post a Comment