Game Development Reference
In-Depth Information
More semantic document structure
As developers see the need for, and experiment with different applications for existing
technologies, they use what they have, and adapt it to the new circumstances. Such
was the case with previous versions of HTML. Since only a handful of container tags
existed, developers described very complex document structures with the same ele-
ments; while this accomplished the job, it also made it confusing and hard to maintain
structures. Simply put, if all you have is a hammer, then everything you see will be-
come a nail.
For example, it was common for developers to use the <div> tag to represent every
single part of the document when describing a structure like the one represented by
the following illustration:
Search WWH ::




Custom Search