- Shopping Bag ( 0 items )
Ships from: Murphy, TX
Usually ships in 1-2 business days
Ships from: San Antonio, TX
Usually ships in 1-2 business days
All the code and working applications developed in the book will be available for download from Que's web site at www.mcp.com/que
Completely updated and revised with the latest information about the newest web technologies including XHTML, Java 2 and XML.
By and large, XHTML is very much like HTML, so there are not a lot of new elements and attributes to learn. The biggest change for developers will be that all of XHTML's syntax rules must be followed or your document will not be rendered. This is vastly different from the way browsers work now. If you write an HTML document with syntax errors, most browsers will just gloss over them and render the document anyway. This kind of forgiving behavior will no longer be possible with XHTML.
This chapter introduces you to XHTML and what you must know to convert your existing HTML content to conform to the rules of XHTML. After a brief overview of XML and how it's related to XHTML, the chapter focuses on the major rules of XHTML and how you have to change your coding behavior to adhere to those rules.
N0TE: All the ideas covered in this chapter are pursued in greater depth in later chapters as well.Chapters 3 through 8 go into the specifics of the XHTML elements and their syntax. Chapters 10 through 17 delve into XML and how developers are using XML to create discipline specific markup languages.
When you develop a markup language with XML, you are creating an XML application. Even though XML is a relatively new meta-language, several XML applications are already in use. The Synchronized Multimedia Integration Language, or SMIL (pronounced "smile"), is an XML application used to orchestrate presentations for RealPlayer and other multimedia programs. Math Markup Language, or MM., is an XML application that facilitates the publishing of mathematical expressions on the Web. XML applications are also essential to custom business-to-business e-commerce applications.
XHTML is also an XML application. The HTML standard was originally written using SGML, but with XML on the scene, it became prudent to rewrite HTML as an XML application. The result of this effort is the XHTML 1.0 standard.
However, HTML has been lacking the syntactic rigor present in other languages. This has been cultivated in large part by browsers that tolerate HTML syntax errors. After all, why should anyone correct his syntax errors if the documents look fine? While the major browsers have incorporated the capability to look beyond syntax errors, other browsers that rely on all syntax rules being followed have not. This means that people using these other browsers will often have their browsers "broken" by the abundance of erroneous HTML code that's out there.
HTML was also suffering from being extended to include a number of elements and attributes that are solely for presentation purposes and not for indicating the structure of the document. Traditional markup languages only specify structure and have no bearing on how the document looks onscreen. Instead, authors use style sheets to give the content a particular look and feel. In HTML, there was no separation between these two aspects of publishing, contrary to the spirit of how markup languages are implemented.
Second, it puts Web authors on the path to using Cascading Style Sheets to indicate how content should look. In its strictest form, XHTML does not allow any of the elements that specify how content should look. Fortunately, the W3C has provided more permissive forms of XHTML for authors to work with initially. You should expect to transition to the strict form of XHTML eventually, however...
|1||Web Site and Web Page Design||11|
|2||Introduction to XHTML||47|
|3||XHTML 1.0 Element Reference||65|
|11||Creating XML Files for Use||311|
|12||Parsing and Navigating XML-SAX, DOM, XPath, XPointer, and XLink||333|
|14||Constraining XML-DTDs and XML Schemas||369|
|15||Formatting and Displaying XML||385|
|16||Exploiting XML-XML and e-Commerce||401|
|17||Moving Forward with XML||417|
|19||The Document Object Model||459|
|22||Cookies and State Maintenance||543|
|24||Introduction to Dynamic HTML||597|
|25||Advanced Microsoft Dynamic HTML||623|
|26||Advanced Netscape Dynamic HTML||657|
|27||Cross-Browser Dynamic HTML||693|
|28||Programming CGI Scripts||723|
|30||Server-Side Security Issues||791|
|31||Survey of Web Databases||817|
|32||Writing Active Server Pages||839|
|35||Introduction to Java||993|
|36||Developing Java Applets||1009|
|37||User Input and Interactivity with Java||1051|
|38||Graphics and Animation||1107|
|42||Java and XML||1245|
|App. B: General Reference Resource||1345|