O'Reilly logo

How to Design Websites by Alan Pipes

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

CSS (Cascading Style Sheets)

CSS has been used for years to style fonts and colours. Before CSS, to assign typographic characteristics to, say, all <h1> headings, designers had to use the <font> tag to mark up each occurrence of that heading type, making document code complex and difficult to maintain, and increasing file size. Fewer HTML tags in a document reduces page download times and bandwidth. The only drawback to CSS at present is in uneven browser support, so hacks or workarounds sometimes have to be introduced to cater for older versions of browsers such as Internet Explorer. In 2006, the W3C (World Wide Web Consortium) declared CSS to be superior to previous methods. The <font> tag is now ‘deprecated’, which means that it is tolerated ...

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