- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Universal Selectors in CSS
A selector is an HTML tag at which a style will be applied. This could be any tag like <h1> or <table> etc.
With the type selector, set for HTML tags like h1, h2, h3, p, etc:
h2 { color: #FFFF00; }
Rather than selecting elements of a specific type, the universal selector simply matches the name of any element type:
* { color: #FFFF00; }
Advertisements