Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Emphasizing Important Text | Structuring Text Content
HTML Text and Media Foundations

bookEmphasizing Important Text

The em element is used for stress emphasis, while the strong element indicates importance. Using these elements semantically improves accessibility and clarity for all users. When you use em and strong correctly, you help screen readers and other assistive technologies convey meaning, not just appearance, to users.

index.html

index.html

copy
Note
Note

Avoid using em and strong purely for visual styling. Use them to convey meaning, which benefits users of screen readers and other assistive technologies.

question mark

What is the main difference between the em and strong elements in HTML?

Select the correct answer

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 3

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

Suggested prompts:

Can you give examples of how to use `em` and `strong` in Markdown?

Why is semantic HTML important for accessibility?

What are some common mistakes when using `em` and `strong`?

Awesome!

Completion rate improved to 6.25

bookEmphasizing Important Text

Pyyhkäise näyttääksesi valikon

The em element is used for stress emphasis, while the strong element indicates importance. Using these elements semantically improves accessibility and clarity for all users. When you use em and strong correctly, you help screen readers and other assistive technologies convey meaning, not just appearance, to users.

index.html

index.html

copy
Note
Note

Avoid using em and strong purely for visual styling. Use them to convey meaning, which benefits users of screen readers and other assistive technologies.

question mark

What is the main difference between the em and strong elements in HTML?

Select the correct answer

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 3
some-alt