HTML
HASAN SHODIYEV
MUNDARIJA
HTML ..................................................................................................................... 3
1. Sarlovha (hx) ............................................................................................ 3
2. Paragraph (p) ............................................................................................ 3
3. Kodirovka (charset) .................................................................................. 3
4. Sahifani guruhlarga ajratish (div) ............................................................. 3
5. Teg blockquote ......................................................................................... 4
6. Teg details ................................................................................................ 4
7. Gorizontal chiziq (hr) ............................................................................... 4
8. HTML-ekvivalentlar ................................................................................ 5
9. Yangi satrga ajratish (br) .......................................................................... 5
10. Teg pre .................................................................................................... 6
11. Matn bo’laklarini belgilash .................................................................... 6
12. Mantiqiy formatlash teglari .................................................................... 7
13. Quyi va yuqori indeks hosil qilish (sub, sup) ......................................... 7
14. Matn bo’laklarini guruhlarga ajratish (span) ......................................... 8
15. Ro’yxatlar (ul, ol, dl) .............................................................................. 8
15.1. Tartibsiz ro’yxat (ul) ..................................................................... 8
15.2. Tartibli ro’yxat (ol) ....................................................................... 9
15.3. Ro’yxatlarni ichma-ich qo’llash ................................................. 10
15.4. Izohli ro’yxat (dl, dt, dd) ............................................................. 11
16. Grafika .................................................................................................. 12
16.1. Web-sahifada sur’at hosil qilish (img) ....................................... 12
17. Giperhavolalar (a) ................................................................................ 14
17.1. Tashqi giperhavolalar ................................................................. 14
17.2. Ichki giperhavolalar .................................................................... 16
17.3. Elektron pochta manziliga giperhavola ...................................... 17
17.4. Telefon raqamga giperhavola ..................................................... 17
18. Jadvallar ................................................................................................ 17
18.1. Hujjatda jadvalni joylashtirish (table) ........................................ 19
HTML
HASAN SHODIYEV
18.2. Jadval sarlovhasi (caption) ......................................................... 19
18.3. Jadvalning bosh qismi (thead) .................................................... 20
18.4. Jadvalning tana qismi (tbody) ..................................................... 20
18.5. Jadvalning tak qismi (tfoot) ........................................................ 21
18.6. Jadval qatorlari (tr)...................................................................... 21
18.7. Jadval yacheykalari (td, th) ......................................................... 21
19. iframe tegi. Sahifaning bir qismida boshqa sahifani yuklash .............. 22
19.1. HTML-hujjatni aniq bir frame hududiga yuklash ...................... 23
20. Formalar ............................................................................................... 24
20.1. HTML-hujjatda formaning umumiy ko’rinishi .......................... 24
20.2. Hujjatda formani hosil qilish ...................................................... 24
20.3. Teg input ..................................................................................... 25
20.4. Teg datalist .................................................................................. 38
20.5. Teg textarea ................................................................................. 41
20.6. Teg select .................................................................................... 41
20.7. Teg button ................................................................................... 44
20.8. Teg label ..................................................................................... 45
20.9. Forma elementlarini guruhlash ................................................... 46
HTML
HASAN SHODIYEV
HTML
1. Sarlovha (hx)
,
, …,
teglari yordamida sarlovhalar hosil qilinadi. Bularning
barchasi juft teglardir.
Sahifani SEO (Search Engine Optimization) qoidalariga ko’ra shakllantirishda
tegini bitta sahifada faqat bir marta ishlatish tavsiya qilinadi. Bir necha marta
ishlatish HTML qoidalariga ko’ra xato hisoblanmaydi.