~~TOC~~ // // Lab46 Tutorials CSS Cascading Style Sheets CSS was adopted in the mid 1990's as a way to standardize web pages. Style sheets can be used with many markup languages such as html, xml, svg and xul. It is used for defining the way a document looks. It accomplishes this by giving attributes (colors, fonts) to the tags in a markup language. Before style sheets all attributes had to be added to each tag individually. This can Be very inefficient for a site that has many pages. A style sheet allows an entire page or site to be standardized. ===== First Style Sheet ===== p {font-size: 50%; font-family: sans-serif;} h1 {color: red; font-weight: bold;} save file as style.css My New Web Page

Hello world

this is my new web page!

save file as index.html view in web browser ===== Common Attributes ===== *background-color: ; *background-image: ; *font-family: ; *font-size: ; *font-weight: ; *height: ; *margin: ; *padding: ; *text-align: ; *width: ; ===== Links ===== *www.w3schools.com