This video make how to create a website design & development by using HTML-CSS Code into Notepad |
(This is CSS Tutorial – 9,
ID and Classes in css,class in class into css|
color picker html css|text decoration in css|
_____________________________
For more videos and Quires please SUBSCRIBE the Channel :-
________===≠========________
CSS ID selector
An ID selector is a unique identifier of the HTML element to which a particular style must be applied. It is used only when a single HTML element on the web page must have a specific style.
Both in Internal and External Style Sheets we use hash (#) for an id selector.
CSS class selector
A class selector is used when the same style must be applied to multiple HTML elements on the same web page.
Both in Internal and External Style Sheets we use a dot (.) for a class selector.
A hexadecimal color is specified with: #RRGGBB, where the RR (red), GG (green) and BB (blue) hexadecimal integers specify the components of the color.
HEX Value
In CSS, a color can be specified using a hexadecimal value in the form:
#rrggbb
The text-decoration-line property is used to add a decoration line to text.
h1 {
text-decoration-line: overline;
}
h2 {
text-decoration-line: line-through;
}
h3 {
text-decoration-line: underline;
}
p {
text-decoration-line: overline underline;
}
Be the first to comment