Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Explore Font Properties | Styling Text in CSS
CSS Fundamentals

bookChallenge: Explore Font Properties

Task

Let's apply various font properties to specific elements:

For h1:

  • Font family: Arial.
  • Font size: 36px.
  • Font weight: 600.
  • Font style: italic.

For p:

  • Font family: Georgia.
  • Font size: 18px.
  • Font weight: 400.
  • Font style: normal.
index.html

index.html

index.css

index.css

copy
  • font-family: Specifies the font family.
  • font-size: Defines the font size.
  • font-weight: Sets the font weight.
  • font-style: Specifies the font style.
index.html

index.html

index.css

index.css

copy

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 6

Spørg AI

expand

Spørg AI

ChatGPT

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

Awesome!

Completion rate improved to 2.5

bookChallenge: Explore Font Properties

Stryg for at vise menuen

Task

Let's apply various font properties to specific elements:

For h1:

  • Font family: Arial.
  • Font size: 36px.
  • Font weight: 600.
  • Font style: italic.

For p:

  • Font family: Georgia.
  • Font size: 18px.
  • Font weight: 400.
  • Font style: normal.
index.html

index.html

index.css

index.css

copy
  • font-family: Specifies the font family.
  • font-size: Defines the font size.
  • font-weight: Sets the font weight.
  • font-style: Specifies the font style.
index.html

index.html

index.css

index.css

copy

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 6
some-alt