- Tag Heading
Penulisan HTML : <hn>Test</hn>
n = 1/2/3/4/5/6
Contoh :
Test1
Kode =
Test2
Kode =
Test3
Kode =
Test4
Kode =
Test5
Kode =
Test6
Kode =
- Tag Paragraf
Penulisan HTML : <p>Teks</p>
Contoh :
HTML merupakan singkatan dari
HyperText Markup Language.
Kode =
- Tag Atribut
a. Teks Tebal Penulisan HTML : <b>Teks</b>Contoh : Ini huruf Tebal Kode =
b. Teks Miring Penulisan HTML : <i>Teks</i>Contoh : Ini huruf Miring Kode =
c. Teks Bergaris bawah Penulisan HTML : <u>Teks</u>Contoh : Ini huruf Bergaris bawah Kode =
d. Teks Atas Penulisan HTML : <sup>Teks</sup>Contoh : X2 dibaca X kuadrat. Kode =
d. Teks Bawah Penulisan HTML : <sub>Teks</sub>Contoh : X2+1y Kode =
e. Pindah Baris Penulisan HTML : <br>Teks atau <br/>TeksContoh :
Baris1
Baris2
Kode =
f. Memberikan Garis Batas Penulisan HTML : <hr>atau <hr/> - Tag Font
a. Font Penulisan HTML : <font face="x" size "y">Teks</font>x = Jenis Huruf (Times New Roman,Arial,Algerian,dll)
y = Ukuran Huruf
Contoh :
Ini Times New Roman Kode =
Ini Arial Kode =
Ini Algerian Kode =
b. Warna Penulisan HTML : <font color= "warna">Teks</font>warna = warna huruf (red,blue,green,yellow,dsb) atau menggunakan kode warna Hex
Contoh :
Ini warna Magenta Kode =
- Tag Enumerasi
Penulisan HTML : <li>item</li>
- Tag List
a. Ordered List
Penulisan HTML : <ol>...</ol> atau <ol type ="x">...</ol>
x = diganti dengan type pengurutan (1,A,a,I,i)Contoh :
- Menu Minuman
- Es Teh
- Es Kelapa
- Es Jeruk
- Air Putih
b. UnOrdered List
Penulisan HTML : <ul>...</ul> atau <ul type ="y">...</ul>
y = diganti dengan simbol pengurutan (disc,circle,square)Contoh :
- Menu Makanan
- Nasi Goreng
- Mie Ayam
- Soto Ayam
- Capcay
Contoh list bersarang : - HTML dan CSS Dasar
- Element, Tag, dan Atribut
- Element
- Tag
- Atribut
- Struktur Dokumen HTML
- Dasar CSS
- Selector
- Property
- PHP
Macam-macam Tag dasar pada HTML :
Kode =
<ol>
<li>HTML dan CSS Dasar</li>
<ul type = "circle">
<li>Element, Tag, dan Atribut
<ol>
<li> Element</li>
<li> Tag</li>
<li> Atribut</li>
</ol>
</li>
<li>Struktur Dokumen HTML</li>
<li>Dasar CSS
<ol>
<li> Selector</li>
<li> Property</li>
</ol>
</li>
</ul>
<li>PHP</li>
</ol>
Tidak ada komentar:
Posting Komentar