2. HTML — BASIC • comments, file path
The "picture.jpg" file is located in the same folder as the current page
The "picture.jpg" file is located in the images folder in the current folder
The "picture.jpg" file is located in the images folder at the root of the current web
The "picture.jpg" file is located in the folder one level up from the current folder
• div va span
• a tagi => tel, email, #id ...
Visit W3Schools.com!
Target=”_blank” new page
+47 333 78 901
Send Email
download
• HTML da Listlar bilan ishlash;
• ul – unordered
• ol – ordered
• dl – description list
Coffee
Tea
Milk
square, disc, none
description list, data, title
Coffee
- black hot drink
Milk
- white cold drink
4. HTML – INTERMEDIATE • HTML da Form elementining strukturasi;
• Form elementlari va attributlari;
• Elementlar: input, textarea, button, select, option…
• Attributlar: action, method, target, autocomplete…
• Form input turlari va attributlari;
• Turlari: button, checkbox, email, password, tel, number…
• Attributlari: for, type, name, value, id, autocomplete…
Use the size attribute to specify the number of visible values:
Use the multiple attribute to allow the user to select more than one value:
Disabled
readonly
maxlength="4" size="4"
required
// range
autocomplete="off" // “on”
1. CSS – INTRODUCTION • CSSga kirish style turlari;
• Inline style
• Internal style
• External style
• CSS selector turlari (class, id , tag)
• background-color
• Text Fonts
• font family
• font-size = rem, em, %, vw, vh,
While em is relative to the font-size of its direct or nearest parent, rem is only relative to the html (root) font-size. • font-style normal, italic
• CSS color ( color picker )
• RGB (Red, Green, Blue) va RGBA (Red, Green, Blue, Alpha)
• HEX (Hexadecimal – 16raqamlik)
• HSL (Hue, Saturation, Lightness) va HSL (Hue, Saturation, Lightness, Alpha)