How to Do Everything with HTML & XHTML

So how do you sort out XHTML 1.0, 1.1, and 2.0? Will you have to learn how to create your own modules to be standards compliant? Eventually, perhaps, but not just yet. It will still be some years before browsers eliminate their “backward compatibility,” so you needn’t be in a rush to learn how to create XHTML modules or develop DTDs. However, the more standards compliant your documents are, the less maintenance they will require in the future. So there are definite advantages to learning how to adhere to the Strict DTD.

What should you do to make sure that your pages are ready for the future? The following principles will help you write well-formed and valid XHTML pages:

Like it or not, the stricter standards of XHTML are the future of the Web. If you begin to write standards-compliant code now, future browser versions will have little or no trouble interpreting your code, even if you aren’t writing in XHTML 1.1 or 2.0.

Throughout this book you have learned how easy it is to create pages in XHTML. You have learned how to place the proper emphasis on structure in your markup and use CSS for style and design purposes. Most important, you have discovered that Web authoring isn’t some mystical process that can be undertaken only by “techies.” You now have the tools you need to create good, functional Web sites. However, keep in mind that if you don’t use these tools, you’ll probably lose (forget) them. XHTML markup is simple and intuitive, but if you are to become proficient as a Web author, you need to practice. So don’t close this book and put it on the shelf. Keep it handy—and start designing Web sites.

And don’t forget to have fun!

Категории