CSS Style Specification Format

Leave a Comment
The style specification is specified differently for each different level. For instance :
  • For inline cascading style sheets the style appears in side the tag for defining the value.
    <p style="font-size: 30pt; font-family:Script" >
  • For the document cascading style sheet the style specification appears as the content of a style element within the header of a document.


CSS Examples

The type attribute tells the browser that what it is reading is text which is affected by the cascading style sheet. The type specification is necessary because there is one more specification used in JavaScript.
  • The External style sheet makes use of style specification in the same manner as in document cascading style sheet.

0 comments:

Post a Comment