Is essentially a box that wraps around every HTML element. It consists of: margins, borders, padding, and the actual content. The image below illustrates the box model.
Back
Disadvantages of CSS
Front
- Cross-Browser issues
-Confusion due to its many levels
-vulnerable
-conclusion
Back
Inline
Front
May be used to apply a unique style for a single element.
Back
CSS
Front
Cascading style sheet are a way to specify style information for different elements in a web page.
Back
DIVs
Front
A container unit that encapsulates other page elements and divides the HTML document into sections.
Back
External
Front
Each page must include a reference to the external style sheet file inside the <link> element.
Back
Advantages of CSS
Front
-External css promotes site styling consistency/cohesiveness, so each of the pages in the website has a similar look and feel.
-Makes it easier for css developers to change the look and feel of a website.
-Reduces development time of web pages.
- Faster page load (response) time due to the caching of style sheet by the browser.
Back
Internal
Front
An embedded or internal style sheet may be used if one single page has a unique style.