HTML code

2K 22 1
                                        

Link :

<a href="http://www.domain.com/"> Visit Our Site</a>

Isi :

<body>The content of your HTML page</body>

Tengah :

<center>This will center your contents</center>

Menjorok :

<dl> <dt>Definition Term</dt> <dd>Definition of the term</dd> <dt>Definition Term</dt> <dd>Definition of the term</dd> </dl>

Keterangan (dd menjorok ke dalam)

Miring : Example

Font : <font face="Times New Roman" size="+3" color="#ff0000">Example</font>

Login : <form action="mailto:you@yourdomain.com"> Name: <input name="Name" value="" size="10">

Email: <input name="Email" value="" size="10">

<center><input type="submit"></center> </form>

Ukuran karakter : <h1>Heading 1 Example</h1> <h2>Heading 2 Example</h2> <h3>Heading 3 Example</h3> <h4>Heading 4 Example</h4> <h5>Heading 5 Example</h5> <h6>Heading 6 Example</h6>

(semakin kecil bilangannya,semakin besar ukurannya)

Separate : <hr />

Kolom submit besar : <form method=post action="/cgi-bin/example.cgi"> Enter Your Comments:

<textarea wrap="virtual" name="Comments" rows=3 cols=20 maxlength=100></textarea>

<input type="Submit" value="Submit"> <input type="Reset" value="Clear"> </form>

Choice scroll : <form method=post action="/cgi-bin/example.cgi"> <center>

Select an option: <select> <option >option 1</option> <option selected>option 2</option> <option>option 3</option> <option>option 4</option> <option>option 5</option> <option>option 6</option> </select>

<input type="Submit" value="Submit"></center> </form>

Tulisan jalan : <marquee bgcolor="#cccccc" loop="-1" scrollamount="2" width="100%">Example Marquee</marquee>

Daftar : <ol type="a"> <li>List item 1</li> <li>List item 2</li> <li>List item 3</li> <li>List item 4</li> </ol>

(biasa disebut bullets n numbering)

Paragraph : <p align="right">

(gunakan right,left,center)

Kolom : <table cellpadding="2" cellspacing="2" width="100%"> <tr> <td bgcolor="#cccccc">Column 1</td> <td bgcolor="#cccccc">Column 2</td> </tr> <tr> <td>Row 2</td> <td>Row 2</td> </tr> </table>

(banyaknya 'th' menentukan jumlah kolom)

Point bullet kedalam terusan : <ul type="disc"> <li>List item 1</li> <li>List item 2</li> <ul type="circle"> <li>List item 3</li> <li>List item 4</li> </ul> </ul>

You've reached the end of published parts.

⏰ Last updated: Dec 19, 2009 ⏰

Add this story to your Library to get notified about new parts!

HTML codeWhere stories live. Discover now