|
HTML5 for iOS and Android By Robin Nixon (McGraw-Hill 2011, ISBN 978-0071756334) Home | About | Buy It |
Chapter 3: Introduction To CSSWhen HTML was invented it was based around a Document Object Model (DOM, a means of separating out all the different elements within a web page into discrete objects, each with their own properties and values. This led logically to the introduction of style sheets, enabling a web page's content to be completely separated from its styling, and also makes HTML documents easily modifiable by languages such as JavaScript to provide dynamic user interaction. |
|
Examples from this chapter:
Most examples in this book require the latest version of any of Microsoft Internet Explorer, Google Chrome, Mozilla Firefox, Apple Safari, Opera, iOS or Android in order to work correctly. To see how the examples work use your browser's View Source feature, or download the examples file, unzip the contents and examine the files in a text editor. |