HTML Daftar Cepat
HTML Cepat Daftar. Anda dapat mencetak, untuk mempersiapkan penggunaan sehari-hari.
Dokumen HTML dasar
<! DOCTYPE html>
<Html>
<Head>
<Title> Judul Dokumen </ title>
</ Kepala>
<Body> teks terlihat ... </ body>
</ Html>
tab dasar (Basic Tags)
<H1> judul terbesar </ h1>
<H2> ... </ H2>
<H3> ... </ H3>
<H4> ... </ H4>
<H5> ... </ H5>
<H6> heading terkecil </ h6>
<P> Ini adalah sebuah paragraf. </ P>
Situs (line feed) <hr> (horizontal) <! - Ini adalah komentar ->
Memformat Teks (Formatting)
<B> teks tebal </ b>
<Kode> kode komputer </ code>
<Em> menekankan teks </ em>
<I> teks miring </ i>
<Kbd> keyboard </ kbd>
<Pra> teks terformat </ pre>
<Kecil> text lebih kecil </ small>
<Kuat> text penting </ strong>
<Abbr> (singkatan) <alamat> (informasi kontak) <bdo> (arah teks) <blockquote> (dari bagian referensi sumber lain) <cite> (nama kerja) <del> (teks yang dihapus) <ins > (insert text) <sub> (subscript teks) <sup> (teks superscript)
Link (link)
link umum: <a href = "http://www.example.com/"> link teks </ a> image link: <a href = "http://www.example.com/"> <img src = "URL" alt = "pengganti teks"> </ a> Mail link: <a href = "mailto: [email protected]"> Kirim e-mail </ a> Bookmark: <a id = "tips"> Tips section </ a>
<A href = "#tips"> bagian Lewati Tips </ a>
Gambar (Images)
<Img src = "URL" alt = "Ganti Teks" height = "42" width = "42">
Gaya / Block (Styles / Bagian)
<Style type = "text / css">
h1 {Warna: merah ;}
p {Warna: biru ;}
</ Style>
<Div> elemen blok-tingkat dalam dokumen </ div>
<Span> elemen dokumen inline </ span>
daftar unordered
<Ul>
<Li> barang </ li>
<Li> barang </ li>
</ Ul>
Daftar memerintahkan
<Ol>
<Li> pertama </ li>
<Li> Item Kedua </ li>
</ Ol>
Daftar definisi
<Dl>
<Dt> Item 1 </ dt>
<Dd> Item Keterangan 1 </ dd>
<Dt> Item 2 </ dt>
<Dd> Deskripsi Item 2 </ dd>
</ Dl>
Tabel (tabel)
<Table border = "1">
<Tr>
<Th> header tabel </ th>
<Th> header tabel </ th>
</ Tr>
<Tr>
<Td> tabel data </ td>
<Td> tabel data </ td>
</ Tr>
</ Table>
Frame (iframe)
<iframe src = "demo_iframe.htm"> </ iframe>
Bentuk (bentuk)
<Form action = "demo_form.php" Metode = "post / mendapatkan">
<input type = "text" name = "email" size = "40" maxlength = "50">
<input ketik = "password">
<input type = "checkbox" diperiksa = "diperiksa">
<input type = "radio" diperiksa = "diperiksa">
<input ketik = "submit" value = "Kirim">
<input ketik = "reset">
<input ketik = "hidden">
<Pilih>
<Pilihan> Apel </ option>
<Option dipilih = "dipilih"> pisang </ option>
<Pilihan> Cherry </ option>
</ Pilih>
<Textarea nama yang = "komentar" rows = "60" cols = "20"> </ textarea>
</ Form>
Entity (Entitas)
& Lt; setara dengan <& gt; setara dengan> & # 169; setara dengan ©