Section 1

Preview this deck

CSS Box Model

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (8)

Section 1

(8 cards)

CSS Box Model

Front

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.

Back