Game Development Reference
In-Depth Information
side or around complex patterns, instead of the traditional rectangular shape. Surely
you have seen magazines doing this, where a block of text wraps around some
shape like the outline of a car or some other object. In the past, doing this effect with
plain text (as opposed to using images) has very rarely been attempted in HTML be-
cause of the extreme complexity required to pull this off. Now it only takes a few lines
of CSS code.
Advanced HTML5 APIs
Although the following APIs and features vary greatly in complexity and learning
curve steepness, our goal is to provide at least a thorough introduction to each of
these topics. In order to gain a deeper understanding of, and working experience
with each topic, it is recommended that you supplement the introduction provided
here with other sources.
Since parts of the HTML5 specs and features have not yet reached full maturity,
some APIs may not be fully supported in all browsers, even the latest modern
browsers. Since this chapter will cover the absolute latest features of HTML5 (as at
the time of writing), there is a chance some browsers might not be suitable for the
examples covered in the chapter. For this reason, it is recommended that you work
on the latest version of whatever the most advanced web browser is. Not only that,
but you must also make certain that you check whatever experimental feature and/or
security flags your browser has available. The following code snippets were written
specifically for, and aimed at Google Chrome, since all of the features described are
supported by it. We will make a note of any specific configuration settings required
for a feature to work properly but these may or may not be needed as new updates
are deployed for new web browsers.
Search WWH ::




Custom Search