
- Javascript Basics Tutorial
- Javascript - Home
- Javascript - Overview
- Javascript - Syntax
- Javascript - Enabling
- Javascript - Placement
- Javascript - Variables
- Javascript - Operators
- Javascript - If...Else
- Javascript - Switch Case
- Javascript - While Loop
- Javascript - For Loop
- Javascript - For...in
- Javascript - Loop Control
- Javascript - Functions
- Javascript - Events
- Javascript - Cookies
- Javascript - Page Redirect
- Javascript - Dialog Boxes
- Javascript - Void Keyword
- Javascript - Page Printing
- JavaScript Objects
- Javascript - Objects
- Javascript - Number
- Javascript - Boolean
- Javascript - Strings
- Javascript - Arrays
- Javascript - Date
- Javascript - Math
- Javascript - RegExp
- Javascript - HTML DOM
- JavaScript Advanced
- Javascript - Error Handling
- Javascript - Validations
- Javascript - Animation
- Javascript - Multimedia
- Javascript - Debugging
- Javascript - Image Map
- Javascript - Browsers
- JavaScript Useful Resources
- Javascript - Questions And Answers
- Javascript - Quick Guide
- Javascript - Functions
- Javascript - Resources
What is a Selector and how it is used in CSS?
A selector is an HTML tag at which a style is applied. This could be any tag like <h1> or <table> etc.
The following figure describes what a Selector is:
Let us see an example of Type Selector, to set color:
h1 { color: #36CFFF; }
- Related Articles
- What is CSS and why it is used?
- What is a CSS Selector?
- What is an array and how is it used for?
- In Python, what is NumPy? How is it used?
- What is Vernier Calipers and How it is used for Measurement?
- What is Screw Gauge and how it is used for measurement?
- What is the primary difference between the XPath and CSS selector in Selenium?
- What is an array and what is it used for?
- What is HTML5 IndexedDB and why it is used?
- What is the difference between jQuery(selector) and $(selector)?
- Content Delivery Network - What It is Used for and How Does It Work?
- What is sieving? Where it is used?
- What is winnowing? Where is it used?
- Difference between "." and "#" selector in CSS
- Understanding CSS Selector and Declarations

Advertisements