5.13. Summary

Cascading style sheets provide a powerful capability for customizing the look of Web pages and are now the preferred approach for specifying page formatting in HTML 4.0 documents. Style sheets let you specify fonts, background colors, and images for individual sections of text, floating elements, margins and indentation, and list styles. In addition to the new effects that style sheets enable, they also allow you to give pages a much more consistent look across browsers. Through style sheets, layers are supported on both Netscape and Internet Explorer.

Even with this capability, however, HTML is still a markup language, not a programming language, so the types of applications you can create are limited. The Java programming language, ...

Get Core Web Programming, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.