Publishers of technology books, eBooks, and videos for creative people

Home > Articles

CSS Basics

This chapter is from the book

Review answers

  • 1 No. HTML-based formatting was deprecated in 1997, when HTML 4 was adopted. Industry best practices recommend using CSS-based formatting instead.

  • 2 CSS imposes an imaginary box on each element. This box, and its content, can then be styled with borders, background colors and images, margins, padding, and other types of formatting.

  • 3 False. Even if you do nothing, many HTML elements feature default formatting.

  • 4 The four theories that affect CSS formatting are cascade, inheritance, descendant, and specificity.

  • 5 False. Many CSS3 features are already supported by modern browsers and can be used right now.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.