spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / dlab / html unleashed
Developer News
Mandrake Linux Founder Back, Virtually
Amazon: We're a Technology Company
Sun Expands MySQL With Closed Source
 

HTML Unleashed: SGML and the HTML DTD

Other DTDs and Related Resources

 
 

You are probably aware that, besides consecutive HTML versions (the latest being 4.0), there exists a number of HTML "flavors" deviating from the standard in the scope of supported features.  The most notorious of these flavors is "Netscape HTML", a vague term used to circumscribe the suite of HTML extensions ("netscapisms") introduced by different versions of Netscape Navigator browser and now making their way to other browsers and HTML flavors.

Unfortunately, Netscape HTML extensions aren't officially documented in the form of a DTD.  Other companies, as a rule, are more reliable in this respect; for example, the DTD for the version of HTML supported by Microsoft Internet Explorer can be found here.

There were also independent attempts to provide DTDs for various HTML flavors, including Netscape extensions.  The HTML Pro project attempts to combine in one gigantic DTD all HTML variants and extensions proposed by standard-setting organizations and browser manufacturers.

Certainly, the whole wizardry of DTD syntax would be pointless if there were no programs to automatically parse the DTD declarations.  The most sensible purpose of such parsing (as well as of formally defined syntax in general) is to check HTML documents against the DTD to ensure they are valid SGML documents using only declared elements and attributes.

The confusion of HTML flavors notwithstanding, it is always a good idea to make sure that your document is formally correct from the viewpoint of at least one of the DTDs out there, preferably the DTD of the current official HTML version adopted by a standard-setting body.  (To watch for latest developments in this area, visit the W3C page or the home page of IETF.)

Such a validation can also be helpful by ensuring that the document contains no syntax errors such as unclosed tags or delimiters.  Validation packages are sometimes combined with functions to check for broken links, estimate download time, examine images, check spelling, and so on.

Some of these validators are accessible over the Internet.  The WebTechs validation service is a pure SGML validator without any extras, but it offers a big collection of DTDs to choose from and can check not only HTTP- accessible documents but also HTML fragments entered interactively.  The site also offers a handy hypertext version for each of the DTDs it uses.

 

Produced by Dmitry Kirsanov
Copyright Sams.net Publishing and

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Whitepapers and eBooks

Symantec Whitepaper: Converging System and Data Protection for Complete Disaster Recovery
Intel Whitepaper: Comparing Two- and Four-Socket Platforms for Server Virtualization
IBM Solutions Brief: Go Green With IBM System xTM And Intel
HP eBook: Simplifying SQL Server Management
IBM Contest: Are You the Next Superstar? Join the "Search for the XML Superstar" Contest to Find Out
Intel PDF: Quad-Core Impacts More Than the Data Center
Intel PDF: Virtualization Delivers Data Center Efficiency
Go Parallel Article: PDC 2008 in Review
Avaya Article: Communication-Enabled Mashups: Empowering Both Business Owners and IT
Intel Whitepaper: Building a Real-World Model to Assess Virtualization Platforms
PDF: Intel Centrino Duo Processor Technology with Intel Core2 Duo Processor
Microsoft Article: Build and Run Virtual Machines with Hyper-V Server 2008
  Go Parallel Article: Q&A with a TBB Junkie
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
IBM eBook: The Pros and Cons of Outsourcing
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Symantec Whitepaper: Comprehensive Backup and Recovery of VMware Virtual Infrastructure
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview - Part 3 · Accessing Your MySQL Database from the Web with PHP · Working with the DOM Stylesheets Collection
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Fixing MySQL Replication · Firewall Guide: First Steps to Securing the Enterprise · VoxOx Tames the Tumultuous Communications Tangle

Created: Jun. 15, 1997
Revised: Jun. 16, 1997

URL: http://www.webreference.com/dlab/books/html/3-6.html