Internal CSS

  • The internal CSS is used to add a unique style to a single document.

  • It is defined in the <head> section of the HTML page inside the <style> tag.

Advantages of Internal CSS:

  • IDs and classes can be used in internal style sheets.

  • You do not need to upload numerous files.

  • They might take precedence over outside style sheets.

Disadvantages of Internal CSS:

  • They are useful for only the page they are specified on.

  • Internal style sheets increase page load times.