Typing in CSS is done inline, page or external. Inline is done right there in the HTML. Page is done in the Head element of the page. external is done by linking to a CSS file that is not included and is linked in the Head element of the document. Peace, carke
Chat with our AI personalities
Add this: <link rel="stylesheet" href="normalview.css" type="text/css" media="screen" /> <link rel="styleshet" href="printview.css" type="text/css" media="print" />
Online; just type "css templates" into your favourite search engine.
to modify any HTML tag just type the tag as the css property eg. ul { /*your css here*/ }
Instead of referring to an external CSS file via <link rel="stylesheet" type="text/css" href="style.css" /> you can also add <style type="text/css"> body { ... } ... </style> to the <head> section of your document. The main set back is that if you do that, you have to edit every single page where you want certain styles to appear instead of referring to one single document.
Valid CSS is CSS that has been run through the W3C CSS checker and passed.