Nah,setelah lama saya vakum gara-gara game,sekarang saya akan memberikan tutorial tentang List.
Tag ordered = <ol>...</ol>,adalah membuat list dengan manggunakan nomor atau huruf. Di dalam tag ini, Anda harus memasukan tag tag list = <li>...</li>. Berikut ini adalah contohnya :
<ol> <li>List item #1</li> <li>List item #2</li> <li>List item #3</li> <li>List item #4</li> </ol>
Setelah di coba di browser,akan nampak sebagai berikut :
- List item #1
- List item #2
- List item #3
- List item #4
<ul> <li>List item #1</li> <li>List item #2</li> <li>List item #3</li> <li>List item #4</li> </ul>
Stelah dicoba di browser :
- List item #1
- List item #2
- List item #3
- List item #4
Tag <ol> mempunyai atribut-atribut di bawah ini :
| <OL COMPACT> your list </OL> |
| The COMPACT attribute instructs the browser to reduce the space occupied by the list. |
|---|---|---|
| <OL START=number> your list </OL> |
| Atribut start memungkinkan untuk membuat urutan tidak harus dari angka satu. |
| <OL TYPE=type> your list </OL> |
| Atribut type yang menggunakan 1. |
| Atribut type yang menggunakan a. | |
| Atribut type yang menggunakan A. | |
| Atribut type yang menggunakan i. | |
| Atribut type yang menggunakan I. |
Tag <ul> mempunyai atribut-atribut di bawah ini :
| <UL COMPACT> list entries </UL> |
| The COMPACT attribute instructs the browser to reduce the space occupied by the list. |
|---|---|---|
| <UL type > list entries </UL> |
| Tidak menggunakan atribut type. |
| Atribut type yang menggunakan Circle. | |
| Atribut type yang menggunakan Disc. | |
| Atribut type yang menggunakan Square. |
Nah,sekian tutorial tentang list,kalau ada pertanyaan tinggal comment saja :)

0 comments:
Post a Comment