Cascading Style Sheets
A predefined HTML document structure that includes heading fonts, text layout commands, graphic object placement and other design guidelines.
A style is set of formatting instructions that allow you to define the formatting of X/HTML elements in a document or modify the characteristics of some elements. For example, the heading tags represent various styles: Heading level one is bold, Times New Roman 24-point typeface by default; heading level 4 is bold, Times new 12-point typeface. You can change these and other style attributes in your web pages. You can also control margins, line spacing and placement of design elements, as well as specify colors, fonts and point sizes. CSS code is very easy for creating css websites.
Imagine that your Web page has 12 different level-two headings that you want to appear in red. In the past, you may have added 12 pairs of tags around the 12 headings. What if you wanted to try blue headings? You would have to do a considerable amount of recoding. With style sheets, however, you can add just a few lines of code, then change the colors of all the headings with a single word.
Cascading style sheets refer to the use of multiple style definitions in a single document. CSS is the standard way to format a Web page. A style sheet file can link to every document in a Web site, thus controlling the overall look and feel of the site. However, within the same file a "spanned" style can also override the style information embedded in the header block, along with any style information from the linked style sheet. The term "cascading" refers to inheritance, or the hierarchical relationship between linked, imported, embedded and inline styles.CSS programming is very important for css website.
No comments:
Post a Comment