Membuat Daftar Urutan Dengan Angka Pada HTML
Membuat nomor urut, kita memerlukan tag <ol> dan </ol> disebut ordered list
sedangkan masing-masing item harus diapit <li> dan </li> disebut list items
contoh:
<html>
<head>
<title> membuat nomor urut </title>
</head>
<body>
<h3>BAHASA INGGRIS</h3>
<strong><i><u><b>Daftar Tenses-Tenses Dalam Bahasa Inggris</b></u></i></strong>
<ol type="1">
<li>Present Tense</li>
<li>Present Continuous Tense</li>
<li>Present Perfect Tense</li>
<li>Present Perfect Continuous Tense</li>
dll
</ol>
</body>
</html>
atau dengan urutan A,B,C
anda tinggal mengganti menjadi <ol type="A">
atau dengan I, II, III. <ol type="I">
atau dengan a,b,c. <ol type="a">
Bagaimana jika terdapat daftar didalam daftar.
contoh penggunaannya:
<html>
<head>
<title> membuat nomor urut </title>
</head>
<body>
<h3>BAHASA INGGRIS</h3>
<strong><i><u><b>Daftar Tenses-Tenses Dalam Bahasa Inggris</b></u></i></strong>
<ol type="1">
<li>Present</li>
<ol type="a">
<li>Present Tense</li>
<li>Present Continuous Tense</li>
<li>Present Perfect Tense</li>
<li>Present Perfect Continuous Tense</li>
</ol>
<li>Past</li>
<ol type="a">
<li>Past Tense</li>
<li>Past Continuous Tense</li>
<li>Past Perfect Tense</li>
<li>Past Perfect Continuous Tense</li>
</ol>
</ol>
</body>
</html>
Demikian penjelasan Membuat Daftar Urutan Dengan Angka Pada HTML
Subscribe to:Post Comments (Atom)
0comments:
Post a Comment