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

Chapter 4. Using CSS with HTML

In the first part of this book, you created your first style sheet. This gave you some hands-on experience working with CSS, as well as a global feel for the language, without getting into extra details.

The remaining parts of this book are designed to give you a more in-depth and detailed review and examples of using CSS. In this chapter, you learn about:

  • Using the STYLE element to embed CSS style sheets in HTML documents

  • Linking and importing external style sheets within HTML documents

  • Inserting inline styles directly into HTML elements

  • Using class, ID, and contextual selectors to create your own specialized styles

  • Using HTML comments and CSS comments in your pages

  • The importance of separating appearance from structure

  • The meaning and importance of deprecation and which elements and attributes are deprecated in HTML 4

  • What the three flavors of HTML are and how to use the correct DOCTYPE declaration in your page


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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