Beginners CSS

I am new to CSS. I learnt HTML some years ago. It seems the CSS can't stand alone. It should insert into your HTML codes/tags.


Please tell me if I am wrong.

I have Download ed a couple of online CSS resources and learning them.You can insert CSS into your html tag using the "style" attribute such as style="background-color:red". However, it is much better to use an external style sheet and link to it, such as <link rel="stylesheet" type="text/css" href=http://www.webdeveloper.com/forum/archive/index.php/"baseline.css" />Thanks for the reply.
I am using Windows XP as well as Linux.

On the Windows side, D:/ is my drive.

How do I save the file?

Is it D:/stylesheet OR D:/baseline.css ?

<link rel="stylesheet" type="text/css" href=http://www.webdeveloper.com/forum/archive/index.php/"baseline.css" />


[I am a beginner when it comes to CSS. I urge one of our experts to provide me with a reply.Save it as baseline.css. You don't necessarily have to link to an external style sheet. If you have a different style on every page of your site (don't know why you would) you could put your css in the <head></head> under a <style type="text/css"> tag. And you only want to use inline styles like <li style="font-family:arial"> if you are doing some freak occurance of that style. Generally you should avoid inline styling because it's bad markup. ;)
 
Back
Top