What is CSS?
CSS stands for Cascading Style Sheets. CSS simply tell browsers how web pages should be displayed i.e., which color or size fonts should have, how wide a box should be, etc.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<html> <head> <style> h1 { color: white; background-color: red; font-size:25px } p { color: blue; background-color: gray; } </style> </head> <body> <div> <h1>Lorem ipsum</h1> <p>Lorem ipsum dolor sit amet</p> </div> </body> </html> |