u element
If you don't know what an element is or how you must use it, I recommend you read the "HTML tags and attributes" tutorial that you can find in the HTML tutorials section.
Table of contents
Description
The u
element represents text with an unarticulated, though explicitly rendered, non-textual annotation. Although rarely useful, this element can be found labeling Chinese proper names or mispelled words.
Examples
The next example shows a chinese phrase with a proper name wrapped with u
. This is equivalent to the English capitalization of the first letter in proper names.
<p>...the phrase "我來自<u>德國</u>。", which stands for "I come from Germany".</p>
...the phrase "我來自德國。", which stands for "I come from Germany".
Now, a document produced as output of a spellcheck, contains several misspelt words marked with u
.
<p>Cancer, also known as a <u>malignan</u> tumor, is a group of <u>disseases</u> involving abnormal cell growth with the potential to invade or spread to other parts of the body. Not all tumors are cancerous; benign tumors do not spread to other parts of the body. <u>Posible</u> signs and symptoms include: a new lump, abnormal bleeding, a prolonged cough, unexplained weight loss, and a change in bowel movements, among others. While these symptoms may indicate cancer they may also occur due to other <u>isues</u>. There are over 100 <u>diferent</u> known cancers that affect humans.</p>
Cancer, also known as a malignan tumor, is a group of disseases involving abnormal cell growth with the potential to invade or spread to other parts of the body. Not all tumors are cancerous; benign tumors do not spread to other parts of the body. Posible signs and symptoms include: a new lump, abnormal bleeding, a prolonged cough, unexplained weight loss, and a change in bowel movements, among others. While these symptoms may indicate cancer they may also occur due to other isues. There are over 100 diferent known cancers that affect humans.
Attributes
Global attributes
For information about global attributes refer to this list of global attributes in HTML5.
Events
Global events
For information about global events refer to this list of global events in HTML5.