CSS Tutorial in Assamese
Web development tutorial playlist : https://youtube.com/playlist?list=PL7UiAdl-rC_EmrddIPoqMdRASvzFdE1JY
Notes :
Simple selectors
1. Element Selector
The element selector selects HTML elements based on the element name.
Syntax
Element {
Property : value;
}
2. The CSS id Selector
The id selector uses the id attribute of an HTML element to select a specific element.
Syntax
#id {
Property : value;
}
Note! An id name cannot start with a number!\
3. The CSS class Selector
The class selector selects HTML elements with a specific class attribute. We use the dot (.) symbol to select the class.
Syntax
.class {
Property : value;
}
Note! A class name cannot start with a number!
4. The CSS Universal Selector
The universal selector selects all HTML elements. We use * symbol to show the universal selector
Syntax
* {
Property : value;
}
5. The CSS Grouping Selector
Syntax
element1, element2... {
Property : value;
}
Web development tutorial playlist : https://youtube.com/playlist?list=PL7UiAdl-rC_EmrddIPoqMdRASvzFdE1JY
Notes :
Simple selectors
1. Element Selector
The element selector selects HTML elements based on the element name.
Syntax
Element {
Property : value;
}
2. The CSS id Selector
The id selector uses the id attribute of an HTML element to select a specific element.
Syntax
#id {
Property : value;
}
Note! An id name cannot start with a number!\
3. The CSS class Selector
The class selector selects HTML elements with a specific class attribute. We use the dot (.) symbol to select the class.
Syntax
.class {
Property : value;
}
Note! A class name cannot start with a number!
4. The CSS Universal Selector
The universal selector selects all HTML elements. We use * symbol to show the universal selector
Syntax
* {
Property : value;
}
5. The CSS Grouping Selector
Syntax
element1, element2... {
Property : value;
}
- Category
- Web design
Be the first to comment