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

Chapter 1. Building an HTML Page > Adding the html Element

Adding the html Element

After the DOCTYPE declaration, you'll want to begin building your document from its root element. I use the term root purposely because all documents create a document tree, something that we'll be exploring at length. Understanding the tree created by HTML documents plays an important role in being able to effectively style those documents using CSS.

The html element is considered the root element of any HTML document. Remember, the declaration isn't an HTML element—it's SGML. So the first element to appear takes on the important root status.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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