Html (3-dars)



Yüklə 343,03 Kb.
tarix13.05.2022
ölçüsü343,03 Kb.
#57892
HTML (3-dars)

HTML (3-dars)


HTML uslublari (style)

Kattaroq sarlavhalar

Har bir HTML sarlavhasi standart o'lchamga ega. Biroq, siz CSS font-size xususiyatidan foydalanib, uslub atributiga ega har qanday sarlavha uchun o'lchamni belgilashingiz mumkin:







Sarlovha 1


Siz shrift o'lchami xususiyatidan foydalanib, uslub atributi bilan sarlavha hajmini o'zgartirishingiz mumkin.


/body>




HTML gorizontal qoidalari


tegi HTML sahifasida tematik tanaffusni belgilaydi va ko'pincha gorizontal qoida sifatida ko'rsatiladi.
elementi HTML-sahifadagi tarkibni ajratish (yoki oʻzgartirishni aniqlash) uchun ishlatiladi:





This is heading 1


This is some text.





This is heading 2


This is some other text.





This is heading 2


This is some other text.

The pre tag preserves both spaces and line breaks:

My Bonnie lies over the ocean.

My Bonnie lies over the sea.

My Bonnie lies over the ocean.

Oh, bring back my Bonnie to me.




This is a heading


This is a paragraph.


This is a heading


This is a paragraph.


This is a heading


This is a paragraph.


Centered Heading


Centered paragraph.

This text is normal.

This text is bold.

This text is normal.



This text is important!

This text is normal.



This text is italic.

This text is normal.



This text is emphasized.

This is some normal text.



This is some smaller text.

Do not forget to buy milk today.

My favorite color is blue red.

My favorite color is blue red.



This is subscripted text.

This is superscripted text.
Yüklə 343,03 Kb.

Dostları ilə paylaş:




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin