Prev | Current Page 441 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


Base HTML Document Structure
Every document generated in HTML must have a minimum set of elements such as in the
following example:
< !DOCTYPE HTML PUBLIC ???-//W3C//DTD HTML 4.01//EN???
???http://www.w3.org/TR/html4/strict.dtd??? >
< html >
< head >
< title > Page Title < /title >
< /head >
< body >
Content Goes Here
< /body >
< /html >
The first two lines of the document are the Document Type Definition (DTD), which is a special heading
indicating which standard applies to the current document. In this case, the HTML version 4.01 in its
strict flavor has been chosen. Other flavors of the last HTML version as defined by the World Wide Web
Consortium (W3C, www.w3c.org/ ) are the transitional and frameset ones. The strict flavor has less
??‘
??‘
??‘
??‘
??‘
230
Part II: Server Side, JavaScript, and Flash; Oh My!
defined elements and no deprecated elements and arguments from previous versions in its definition;
also the frameset features have been skipped. This leaves a syntax that is all dedicated to the semantic of
the documents and not to its visual representation.


Pages:
429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453