Computer Applications
Answer
Differences between External and Internal style sheets are listed below:
| S. No. | External style sheets | Internal style sheets |
|---|---|---|
| 1. | These style sheets are separate .css files. | These style sheets are within the HTML document. |
| 2. | The CSS file is linked using <link> tag. | The style sheet is placed within <style> tags in the <head> section of HTML. |
| 3. | It can be used across multiple HTML pages. | Its use is limited to a single HTML document. |
| 4. | It results in smaller HTML files since styles are in a separate file. | It results in larger HTML files as styles are embedded. |
| 5. | It is easier to maintain and update styles across multiple pages. | Changes require editing each HTML file. |