(P1)
What is CSS?
CSS stands for cascading style sheets an important feature in web
designing. Style sheets also present a variety of html elements
Why css should be used?
CSS is used to style the webpages, and it is used
to style html mark-up. The CSS influences certain types of web pages to have
unique stylistic elements; you can create a separate CSS file for each type of
page. Furthermore CSS should be
used to create a unique visual layout and
design.
The key advantages of CSS?
-If coded well, CSS makes it easy to apply global changes to the layout
- By making one change to your website's CSS style
sheet; you can automatically make it to every page of your website. The bigger
your website, the more time CSS saves
you.
- CSS is considered a clean coding technique, which means search engines won't have to
struggle to "read" its content.
- When a change is made to your websites CSS Style Sheet, you will have
the ability to automatically correct or change every page throughout your
website--all at once. You do not have to go in to each individual web page to
make a particular change as CSS will instantly do it for you.
The css box model is the rectangular boxes that surround the html
elements and these consists of margins, borders padding ?
a)
- Margins define the space around the element , CSS margins are specified in a similar way to borders
- they can be set individually for each side or all sides at
once.
- This text has a margin of 20 pixels on all four sides. It is nested within a div
with a border to make it easier to see the effect of the
margin.
What is CSS?
CSS stands for cascading style sheets an important feature in web
designing. Style sheets also present a variety of html elements
Why css should be used?
CSS is used to style the webpages, and it is used
to style html mark-up. The CSS influences certain types of web pages to have
unique stylistic elements; you can create a separate CSS file for each type of
page. Furthermore CSS should be
used to create a unique visual layout and
design.
The key advantages of CSS?
-If coded well, CSS makes it easy to apply global changes to the layout
- By making one change to your website's CSS style
sheet; you can automatically make it to every page of your website. The bigger
your website, the more time CSS saves
you.
- CSS is considered a clean coding technique, which means search engines won't have to
struggle to "read" its content.
- When a change is made to your websites CSS Style Sheet, you will have
the ability to automatically correct or change every page throughout your
website--all at once. You do not have to go in to each individual web page to
make a particular change as CSS will instantly do it for you.
The css box model is the rectangular boxes that surround the html
elements and these consists of margins, borders padding ?
a)
- Margins define the space around the element , CSS margins are specified in a similar way to borders
- they can be set individually for each side or all sides at
once.
- This text has a margin of 20 pixels on all four sides. It is nested within a div
with a border to make it easier to see the effect of the
margin.