Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Including CSS: Internal Styles | Basic Introduction
Introduction to CSS Part I
course content

Kursusindhold

Introduction to CSS Part I

Introduction to CSS Part I

1. Basic Introduction
2. Selectors and Cascade
3. Box Model

book
Including CSS: Internal Styles

There are several ways to include CSS in an HTML document. One way to include CSS in an HTML document is to use the <style> element.

html

index.html

copy
  • The advantage of using the <style> element is that it allows you to define styles that apply to the entire document in one place;

  • The disadvantage is that it can make your HTML document challenging to read and maintain since all your styles are mixed in with your HTML code.

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 2

Spørg AI

expand
ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

course content

Kursusindhold

Introduction to CSS Part I

Introduction to CSS Part I

1. Basic Introduction
2. Selectors and Cascade
3. Box Model

book
Including CSS: Internal Styles

There are several ways to include CSS in an HTML document. One way to include CSS in an HTML document is to use the <style> element.

html

index.html

copy
  • The advantage of using the <style> element is that it allows you to define styles that apply to the entire document in one place;

  • The disadvantage is that it can make your HTML document challenging to read and maintain since all your styles are mixed in with your HTML code.

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 2
Vi beklager, at noget gik galt. Hvad skete der?
some-alt