Types of CSS
4:48 PM Posted by BlogTechno
Style sheets allow style information to be specified in many ways. Styles can be specified inside a single HTML element, inside the element of an HTML page, or in an external CSS file. Even multiple external style sheets can be referenced inside a single HTML document.They are
- Browser default
- External style sheet
- Internal style sheet (inside the tag)
- Inline style (inside an HTML element)
Note: So, an inline style (inside an HTML element) has the highest priority, which means that it will override a style declared inside the tag, in an external style sheet, or in a browser (a default value).
If the external style sheet link is placed below the internal style sheet in HTML , the external style sheet will override the internal style sheet.
0 comments:
Post a Comment