| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/ja/docs/Web/HTML/Reference/Elements/u | [Back] [Original] |
Get to know MDN better
<p>
You could use this element to highlight <u>speling</u> mistakes, so the writer
can <u>corect</u> them.
</p>
p {
margin: 0;
}
u {
text-decoration: red wavy underline;
}
HTML (<u>) HTML 4 <u> HTML 5
:
<u>
<u>
<u>
<u> <ruby>
text-decoration underline
<u> CSS
<p>This paragraph includes a <u class="spelling">wrnogly</u> spelled word.</p>
HTML <u> spelling "wrongly"
u.spelling {
text-decoration: red wavy underline;
}
CSS <u> spelling red dashed underline
<u>
<span> text-decoration "underline"
<span class="underline">Today's Special</span>
<br />
Chicken Noodle Soup With Carrots
.underline {
text-decoration: underline;
}
<u> <i> <cite>
<p>The class read <cite>Moby-Dick</cite> in the first term.</p>
<cite> CSS
<p>The class read <cite>Moby-Dick</cite> in the first term.</p>
cite {
font-style: normal;
text-decoration: underline;
}
| , , | |
| ARIA |
generic
|
| ARIA | |
| DOM | HTMLElement |
| HTML # the-u-element |
<a><abbr><acronym><address><area><article><aside><audio><b><base><bdi><bdo><big><blockquote><body><br><button><canvas><caption><center><cite><code><col><colgroup><data><datalist><dd><del><details><dfn><dialog><dir><div><dl><dt><em><embed><fencedframe><fieldset><figcaption><figure><font><footer><form><frame><frameset><geolocation><h1><head><header><hgroup><hr><html><i><iframe><img><input><ins><kbd><label><legend><li><link><main><map><mark><marquee><menu><meta><meter><nav><nobr><noembed><noframes><noscript><object><ol><optgroup><option><output><p><param><picture><plaintext><pre><progress><q><rb><rp><rt><rtc><ruby><s><samp><script><search><section><select><selectedcontent><slot><small><source><span><strike><strong><style><sub><summary><sup><table><tbody><td><template><textarea><tfoot><th><thead><time><title><tr><track><tt><u><ul><var><video><wbr><xmp><input> <input type="button"><input type="checkbox"><input type="color"><input type="date"><input type="datetime-local"><input type="email"><input type="file"><input type="hidden"><input type="image"><input type="month"><input type="number"><input type="password"><input type="radio"><input type="range"><input type="reset"><input type="search"><input type="submit"><input type="tel"><input type="text"><input type="time"><input type="url"><input type="week"><script> | Web Proxy Viewer | New URL | Original Page |