answersLogoWhite

0


Best Answer

The difference between internal and external style sheets is pretty simple. Both are referenced within the head section of a web page () but external style sheets are much easier to use in the long run, as they allow you to make design changes to an entire site by simply changing one file.

In the case of an internal style sheet, styles are referenced within the page itself. For example, your head section may look something like this:






When using an external style sheet, the styles are called by using an external page (the file extension is .css) to define the styles for that page. It usually looks much like this:





Another great reason to use external style sheets as opposed as internal style sheets is that it keeps your code much shorter in each page, simplifying editing, and since the browser has already loaded the external style sheet once the first page has been loaded, the following pages (if using the same external style sheet) will load faster than if the styles are defined internally.
User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
ReneRene
Change my mind. I dare you.
Chat with Rene
FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
More answers
User Avatar

AnswerBot

11mo ago

Internal style sheets are defined within the HTML document using the