• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

About style sheets

HTML is a simple language intended to control the structure of information, not its presentation. Style sheets let Web designers enhance HTML's basic formatting by using styles to position text precisely, control type, and format elements on the page.

Cascading style sheets (CSS for short) are a simple way to add style to HTML documents and enhance the basic formatting of HTML elements. A style sheet is a set of stylistic rules that describe how HTML documents should appear to viewers. In HTML code, a rule is a statement about a stylistic aspect of one or more elements, in which a selector specifies what elements a declaration—consisting of a property and its value—will affect. For example, the style rule h1 { color : red } makes all head level 1s in a document appear red.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint