NCD HTML Design Guide v6.0
Paragraph
Paragraph <p>
<p>This is a first paragraph. <p>This is a second paragraph. |
This is a first paragraph. This is a second paragraph. |
Paragraph Alignment
<p align=#> #=justify
|
|
|
|
Quotation
<blockquote>...</blockquote>
Her Song: <blockquote> When I was young, I listened to the radio waiting for my favorite songs.... </blockquote> |
Her Song:
When I was young, I listened to the radio waiting for my favorite songs.... |
Line Break
Break Line <br>
How are you?<br>I'm fine. |
How are you? I'm fine. |
No Break <nobr><nobr> Close your browser window width, and find how this tag will work! This is exciting ... <wbr>and romantic! </nobr>
Centering
<center>...</center>
<center>Hello</center>
Grouping Elements
Division (grouping for text block)
<div> ... </div>
<div class="section"> <H1>1. First Step</H1> In this section, you have to.... <div class="subsection"> <H2>1-1. Music</H2> Music is a important language.... </div> </div> |
1. First StepIn this section, you have to....1-1. MusicMusic is a important language.... |
Division Alignment
<div align=#> #=justify
|
|
|
|
Span (grouping for word)
<span> ... </span>
PHONE: <span class="phone"> 000-0000000 </SPAN> | PHONE: 000-0000000 |
Basic Listings
Unordered list <ul><li>...</ul>
<ul> <li>Today <li>Tommorow </ul> |
|
<ul><li>ONE
<ul><li>TWO
<ul><li>THREE
</ul></ul></ul>
|
|
Ordered lists <ol><li>...</ol>
<ol> <li>Today <li>Tommorow </ol> |
|
<ol><li>ONE
<ol><li>TWO
<ol><li>THREE
</ol></ol></ol>
|
|
Definition lists <dl><dt>...<dd>...</dl>
<dl> <dt>Today <dd>Today is yesterday. <dt>Tomorrow <dd>Tomorrow is today. </dl> |
|
Directory lists <dir><li>...</dir>
<dir> <li>Today <li>Yesterday </dir> |
|
Menu lists <menu><li>...</menu>
<menu> <li>Today <li>Yesterday </menu> |
|
Customized listing
Mark Styles <li type=#> #=disk, circle, square
<ul> <li type=disc>ONE <li type=circle>TWO <li type=square>THREE </ul> |
|
Capital Letters <li type=#> #=A, a, I, i, 1
<ol> <li type=A>ONE-ONE <li>ONE-TWO </ol> |
|
<ol> <li type=a>ONE-ONE <li>ONE-TWO </ol> |
|
<ol> <li type=I>ONE-ONE <li>ONE-TWO </ol> |
|
<ol> <li type=i>ONE-ONE <li>ONE-TWO </ol> |
|
<ol> <li type=1>ONE-ONE <li>ONE-TWO </ol> |
|
List started number <ol start=#> #=number
<ol start=5> <li type=A>ONE-ONE <li>ONE-TWO <ol start=10> <li>TWO-ONE <li type=i>TWO-ONE </ol></ol> |
|
Definition lists Compact <dl compact>
<dl compact> <dt>Today <dd>Today is yesterday. <dt>Tomorrow <dd>Tomorrow is today. </dl> |
|
Preformatted Text
<pre>...</pre>
<pre> Please use your card. VISA Master <b>Here is an order form.</b> <ul><li>Fax <li>Air Mail</ul> </pre> |
Please use your card VISA Master Here is an order form.
|
<listing>...</listing>
<listing> Please use your card. VISA Master <b>Here is an order form.</b> <ul><li>Fax <li>Air Mail</ul> </listing> |
|
<xmp>...</xmp>
<xmp> Please use your card. VISA Master <b>Here is an order form.</b> <ul><li>Fax <li>Air Mail</ul> </xmp> |
|
Comment
<!-- ... -->
CACE 1 <!-- this is a test --> | CACE 1 |
<comment>...</comment>
CACE 1 <comment>this is a test</comment> |
CACE 1 |
Spacer
<spacer type="horizontal" size=#> #=horizontal spaceYESTERDAY <pspacer type="horizontal" size=50> TODAY <spacer type="vertical" size=50> TOMORROWYESTERDAY
<spacer type="block" width=# height=# align=--><spacer type="block" width=150 height=50 align=left> YESTERDAY<br> TODAY<br> TOMORROW
Multi-Column Text
<multicol cols=#> ... </multicol> #=Column Number
<multicol cols=2> text text text... </multicol>
<multicol gutter=#> ... </multicol> #=Space between Columns
<multicol cols=2 gutter=100> text text text... </multicol>
<multicol width=#> ... </multicol> #=Column Width
<multicol cols=2 width=400> text text text... </multicol>
Marquee
Marquee <marquee>...</marquee>
<marquee>Hi, Konnichiha!</marquee>
Text Direction
<bdo dir="#">...</bdo>
#=ltr, rtl
<bdo dir="rtl"> Today is fine! <BR> !enif si yadoT </bdo> |
Today is fine! !enif si yadoT |
Ruby
<ruby>
<ruby> <rb><img src="japanese.gif"></rb> <rp> ( </rp> <rt>Network Communication Design</rt> <rp> ) </rp> </ruby> |
![]() |
Edit & Select Control
Edit Control
<div contenteditable="true"> Today is fine. Tomorrow will be fine. </div> |
Today is fine.
Tomorrow will be fine.
|
<div contenteditable="false"> Today is fine. Tomorrow will be fine. </div> |
Today is fine.
Tomorrow will be fine.
|
Select Control
<div unselectable="on"> Today is fine. Tomorrow will be fine. </div> |
Today is fine.
Tomorrow will be fine.
|
<div unselectable="off"> Today is fine. Tomorrow will be fine. </div> |
Today is fine.
Tomorrow will be fine.
|
