Skip to main content

Keeping Your Markup Slim Using CSS Selectors

  • Chapter
Beginning HTML5 and CSS3
  • 2663 Accesses

Abstract

In order to style an element with CSS, we need to be able to target it. Enter CSS selectors, which allow us to target specific elements in the DOM.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Richard Clark, Oli Studholme, Christopher Murphy and Divya Manian

About this chapter

Cite this chapter

Clark, R., Studholme, O., Murphy, C., Manian, D. (2012). Keeping Your Markup Slim Using CSS Selectors. In: Beginning HTML5 and CSS3. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-2875-2_8

Download citation

Publish with us

Policies and ethics