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

Chapter 2. (X)HTML and Its Relationship to CSS

Chapter 2. (X)HTML and Its Relationship to CSS

Topics in This Chapter

CSS does not replace HTML code (or XHTML code for that matter) on a Web page; instead, it is added to existing HTML elements, 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 elements in favor of CSS. For example, the font element is superceded by various CSS properties (such as font-size, font-family, font-weight, line-height, etc.) 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