CHAPTER 3 WEB (Abyss web server) VOCABULARIES Frameset XHTML Documents

CHAPTER 3 WEB VOCABULARIES Frameset XHTML Documents XHTML allows you to write a third kind of document called a frameset document. You use frameset documents with web pages that use frames. Frames are no longer recommended for a variety of reasons, so I ll discuss this topic only briefly. Use the following DOCTYPE declaration to reference a frameset DTD: Note A frameset can include both transitional and strict documents. You can also include one frameset document within another, allowing you to have nested frames. XHTML 1.1 Documents XHTML version 1.1 is a modular version of the XHTML 1.0 strict document type. As it s based on the strict document type, you can t include any presentation elements or attributes; you need to declare these in a stylesheet. Frames, which are often presentational, have been moved to a separate module that is not enabled by default. XHTML is modular, which means that parts of the XHTML document have been divided into separate modules that you can add or remove. When I discuss XHTML Modularization later in the chapter, I ll show you how to mix web vocabularies using different XHTML 1.1 modules. Take a look at this simple XHTML 1.1 document:

Mars Travel
Visits to a faraway place



Your spacecraft

Your spacecraft is the Mars Explorer, which provides the latest in passenger luxury and travel speed.




Searching for affordable and reliable webhost to host and run your web applications? Go to our java web server services and you will be pleased.

Leave a Reply