© Jörg Krause 2016

Jörg Krause, Introducing Web Development, 10.1007/978-1-4842-2499-1_4

4. CSS: Cascading Style Sheets

Jörg Krause

(1)Berlin, Germany

CSS—Cascading Style Sheets—is a layout and formatting language that enables you to format markup languages such as HTML. Ideally the HTML document contains only semantic information and, with CSS , these will be formatted formatively and typographically.

HTML provides some basic formatting, like larger point sizes with headings. These can be adapted to CSS, just as all not formatted elements can be formatted. Format tags in HTML and format attributes should not be used in principle anymore. They became outdated since HTML5. CSS is now used in their place.

With CSS, it’s also possible to separately ...

Get Introducing Web Development now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.