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

Part 1: THE ORIGINS OF CASCADING STYLE S... > HTML AND ITS RELATIONSHIP TO CSS

Chapter 2. HTML AND ITS RELATIONSHIP TO CSS

Topics in This Chapter

  • How CSS can be Incorporated Into HTML Code

  • The <STYLE> Tag

  • The <SPAN> Tag

  • The <DIV> Tag

  • The <LINK> Tag

  • The STYLE Attribute

  • The CLASS Attribute

  • The ID attribute

CSS does not replace HTML code on a Web page; instead, it is added to existing HTML tags, augmenting them. You do not have to change the way you write HTML code for your Web pages, as CSS can simply sit on top of your existing code. In fact, once you get used to using CSS, you may find yourself using fewer HTML tags in favor of CSS. For example, the <FONT> tag is superceded by various CSS properties that give you far greater control over how text is displayed onscreen. And once you understand the basics of CSS, you'll find it easy to understand and to use.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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