English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I've had better luck creating with css in the , I would rather have an external, and I don't understand why one works and the other doesn't(but I am a newbie at this. Still learning html and css).

So which is better, external or internal css. What are the drawbacks of both?

2007-03-27 06:15:41 · 4 answers · asked by Stick 4 in Computers & Internet Programming & Design

so i have a .html page with the css internally. I want to make it external, so I copy and paste to a new notepad file, save .css add the link in the html to the css, but yet its all messed up.
What am I missing?

2007-03-27 07:45:28 · update #1

4 answers

External CSS is better because the file can be stored seperately and globally changed. You only need to add a line to reference the file to include the CSS in your Web pages.

When using CSS it is preferable to keep the CSS separate from your HTML. Placing CSS in a separate file allows the web designer to completely differentiate between content(HTML) and design(CSS). External CSS is a file that contains only CSS code and is saved with a ".css" file extension. This CSS file is then referenced in your HTML using the instead of