Cover Page by Charles Wyke-Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Appendix. Technical Notes

Writing CSS

CSS is the mechanism for styling HTML. Almost every example in the book begins with a block of HTML code that I then style with CSS. HTML is shown like this:

Image

HTML ignores all white space, returns, and tabs, except within text, where single spaces are respected, but more than one space is ignored. This gives you options for formatting. For example, these are all equivalents and display: An HTML paragraph element.

Image

CSS is shown like this:

CSS also ignores white space, tabs, and returns, so these are equivalents: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required