CSS/Basic Code
From r00tedvw.com wiki
(Difference between revisions)
Line 6: | Line 6: | ||
General Format for most CSS | General Format for most CSS | ||
<nowiki> selector { | <nowiki> selector { | ||
− | property: value; | + | property: primary value, backup value; |
− | property: value; | + | property: primary value, backup value; |
}</nowiki> | }</nowiki> | ||
Comment | Comment |
Revision as of 02:58, 12 September 2013
Link - defines the css page to include for formatting the page
<link type="text/css" rel="stylesheet" href="stylesheet.css"/> type=text/css -- defines the type of file rel=stylesheet -- same as above href= -- points to the location
General Format for most CSS
selector { property: primary value, backup value; property: primary value, backup value; }
Comment
/*I'm a comment!*/
Built in default fonts for CSS
serif sans-serif cursive