Selected HTML Basics
Because HTML still dominates the use of XMLC programming, I will invest some time to call out the features of HTML that differ from general XML. In essence, because HTML has its own required DTD (or in lieu of that DTD, a Netscape or Explorer browser parser that has built-in knowledge of HTML), we're really talking about the HTML document model.
HTML requires one of three DTDs: strict, transitional, or frameset (when frames are used). When a Web page refers to an HTML DTD, you will see the document project contain something like the following line:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/transitional .dtd">
The following code fragment is from the loose.dtd at http://www.w3.org/TR/REC-html40/loose.dtd ...
Get Enhydra XMLC™ Java™ Presentation Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.