• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Introducing CSS > Saying it with Style

Saying it with Style

Script 13.1 shows part of a scene from Shakespeare's The Taming of the Shrew marked up as an HTML page. If we want to display the entire play, we'll need a style sheet: something to remind us that stage directions are emphasized and all lines are set within <blockquote> tags, for example (Figure 13.1). CSS-compliant browsers can use that style sheet to change the way that the text is displayed, according to the style sheet's directions. Script 13.2 shows the same scene, but with a little style added, and Figure 13.2 shows the result.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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