
![]()
One of the trickiest aspects of designing valid and usable Web pages is making sure that when you nest elements within one another, the nesting is legal. If you nest one element inside of another when you're not supposed to, some browsers may mangle the final display. If you don't nest elements properly -- list items inside of lists containers or table data cells inside of table rows, for example -- browsers may also mangle the final display.
To make your Web page development easier, LANWrights' expert programmer Bill Brogden designed an HTML context applet that you can use to find out which elements you can nest within which other elements. The applet includes information from the Strict HTML DTD, as well as the Loose DTD. To find out which elements an individual element can hold, choose the DTD you'd like to work from, select the element you want to know more about, and click the "can contain" radio button. To find out which elements an individual element can be nested within, click the "can be contained in" radio button. Nothing could be easier.
Applet is no longer available or obsolete for this test.
Book Links: Web Books | Exam Prep | Dummies Guide | Windows NT | Networking | Internet - Intranet | Backlisted | Book Sites
Main Site: Homepage | Books | Training | Certification | Java Showcase | About | Sitemap