English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Complete CSS selector reference manual
Select all <p> elements :
<!DOCTYPE html> <html> <title>Basic Tutorial Website (oldtoolbag.com)</title> <head> <style> p { background-color:green; color:white; } </style> </head> <body> <h1>Welcome to Basic Tutorial Website (www.oldtoolbag.com)</h1> <p>The URL of our website is: www.oldtoolbag.com.</p> <p>The name of our website is: Basic Tutorial Website. </p> <p>Learn various basic tutorials provided by us, master the basics, and you can go further! </p> </body> </html>Test and see ‹/›
element Element selectors select all elements with the specified element name.
IEFirefoxOperaChromeSafari
All mainstream browsers supportelement Selector.
Complete CSS selector reference manual