image

© Risto Viita/Shutterstock

chapter8

Advanced Cascading Style Sheets

IN CHAPTER 7, YOU LEARNED how to use cascading style sheets to format content items on your page using inline, embedded, and external style sheets. You learned how to easily format the appearance of items within your page. In this chapter, you will drill down into other CSS capabilities. To start, you will define CSS classes, which group a set of style definitions that can later be applied to a variety of HTML tags. Then, you will learn how to create an id-based style that applies only to an element on your page that matches the identifier. As you will learn, CSS is very flexible ...

Get Introduction to Web Development Using HTML 5 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.