answersLogoWhite

0

AllQ&AStudy Guides
Best answer

Cascading Style Sheet is a way of styling your document. It is a set of commands which make a page much more interactive.

This answer is:
Related answers

Cascading Style Sheet is a way of styling your document. It is a set of commands which make a page much more interactive.

View page

A Cascading Style Sheet, or CSS, is the kind of style sheet you will find in the head of a web page document. These style sheets control the presentation of the web page. This is done to separate the markup of the web page from the rules that control how that markup is to be styled and presented.

View page
Three Ways to Insert CSSThere are three ways of inserting a style sheet:
  • External style sheet
  • Internal style sheet
  • Inline style

    An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one file. Each page must link to the style sheet using the tag. The tag goes inside the head section:

    An external style sheet can be written in any text editor. The file should not contain any HTML tags. Your style sheet should be saved with a .css extension. An example of a style sheet file is shown below: hr {color:sienna;}

    p {margin-left:20px;}

    body {background-image:URL("images/back40.gif");}

View page

Style sheets are useful in web site development because it allows a designer to consolidate the rules required to style a web site into one place and one document. This will ultimately save the designer time. If the designer decides to change a style on the site, they only have to look in one document and one place to make the change and the change will take effect immediately. Furthermore, style sheets separate the rules that are purely for presentation from the content, which allows you to write leaner code.

View page

CSS is short for Cascading Style Sheet. It is used to add styles to web pages.

View page
Featured study guide
📓
See all Study Guides
✍️
Create a Study Guide
Search results