Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDavid Liu
2,255 PointsWhat is the 'a' in "nav a" for again?
For example, when you type in the following into CSS:
nav a { color: orange; }
...what does the a actually do again? Would anyone have a link to explain this? :)
Konrad Pilch
2,435 PointsAlright :)
Use inspector tool for better understanding about HTML elements as well. It helps, at least for me.
1 Answer
Konrad Pilch
2,435 PointsHI,
a stands for Anchor
This is the link, so if you have soemthing like a href you can link that button with a click to another page.
Did i explained it well?
David Liu
2,255 PointsDavid Liu
2,255 PointsOops never mind, I figured it out. Sorry if it was a silly question!
In case people have the same question, the "a" in CSS is for anchor.
Writing nav a { background-color: orange; } will make all the background color of the links in your nav section turn orange.