Link to home
Create AccountLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

In a nutshell, what are CSS Selectors?

I am just starting to read jQuery in Action, and am new to JavaScript as well as CSS. For me to appreciate the automation jQuery bring to CSS, I need a little context. Please explain a little about what a selector is and how jQuery help.

Thanks,
newbieweb
SOLUTION
Avatar of Sudaraka Wijesinghe
Sudaraka Wijesinghe
Flag of Sri Lanka image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of curiouswebster

ASKER

In the example you sent, does 'p' have anything to do with the paragraph tag?

p
{
color:red;
text-align:center;
}
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Thanks!