1- Basic difference between Id and Class.
2-Compare the priority level of three types of CSS
3-Explain Pseudoclass and Pseudoelement
4-Types of border
5-One disadvantage of inline css
1.id is used for unique identification and class is used for grouping the elements
2.priority level of css :- inline Internal external
3. Pseudo class and pseudo elements are the additional element which is created by using css
4.types of borders :- solid, dotted , etc…
5.disadvantage of inline css is browser gets slow when it reads the inline css code.
- ID is unique, Class is for Group
- Inline > Internal > External
- Pseudo class is used to special state of an element like focus, visited, unvisited, hover. Pseudo element is used to represent a specific part of an element ::
- dashed, solid, groove, dotted…
- Difficult to Re-Use
1.id is used to uniquely identify an element and class is used to group multiple elements together.
2.highest to lowest- inline, internal, external
3.psuedo class-used to select and style elements based on certain states or conditions and denoted by a colon
psuedo element- used to style specific parts of an elements content and denoted by doublecolon
4.solid, dotted, dashed border
5.it is useful when we want to quickly style a specific selement
1 . In Class we can use multiple elements , In ID we can use one element
2 . inline
internal
external
3 . Pseudoclass define special elements
Pseudoelement define special state of an element
4 . 3-types (all sides , bottom , round)
5 . You cannot use quotations within inline CSS