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

Chapter 1. The Web and HTML > Document Trees

Document Trees

In this chapter, we have demonstrated how elements in HTML are placed inside one another. We did this by indenting the code, as shown in all the previous code examples. The HTML element itself is the outermost element that encompasses all the other elements. Inside the HTML element are the TITLE and BODY elements, with the latter encompassing all the other elements, such as HI and P. Within some of those elements are other elements. For example, within the UL element are the LI elements. If you were to diagram this idea of elements within elements, the result might be as shown in Figure 1.19.

Figure 1.19. Diagram of elements within elements in a tree structure.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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