1. Computing & Technology

Discuss in my forum

selector

By , About.com Guide

Definition:

In CSS the selector is the element or item that the CSS will be applied to.

Pronunciation: suh lehk tur
Examples:
p { color: #f00; } The "p" is the selector, indicating all paragraphs. html, body { color: #000; } The "html, body" is the selector, indicating both the html and body tags.

©2012 About.com. All rights reserved.

A part of The New York Times Company.