Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Emphasis and Quotations | Semantic Content and Structure
Build Meaningful and Accessible Web Pages

bookEmphasis and Quotations

When writing web content, you often need to highlight important words, stress certain phrases, or quote external sources. Semantic HTML provides specific elements for these tasks, ensuring your meaning is clear not just to readers but also to browsers and assistive technologies.

Two commonly used elements for emphasis are strong and em:

  • Use strong to indicate that content is of strong importance, such as warnings or critical instructions;
  • Use em to stress a word or phrase, indicating a change in tone or emphasis within the sentence.

For quotations:

  • The blockquote element semantically marks a section as a long quotation from another source;
  • The cite element is used to reference the source of a quote, book, article, or creative work.
index.html

index.html

copy
question mark

Which HTML element would you use to indicate that a piece of text is of strong importance?

Select the correct answer

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 2

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

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

Awesome!

Completion rate improved to 8.33

bookEmphasis and Quotations

Pyyhkäise näyttääksesi valikon

When writing web content, you often need to highlight important words, stress certain phrases, or quote external sources. Semantic HTML provides specific elements for these tasks, ensuring your meaning is clear not just to readers but also to browsers and assistive technologies.

Two commonly used elements for emphasis are strong and em:

  • Use strong to indicate that content is of strong importance, such as warnings or critical instructions;
  • Use em to stress a word or phrase, indicating a change in tone or emphasis within the sentence.

For quotations:

  • The blockquote element semantically marks a section as a long quotation from another source;
  • The cite element is used to reference the source of a quote, book, article, or creative work.
index.html

index.html

copy
question mark

Which HTML element would you use to indicate that a piece of text is of strong importance?

Select the correct answer

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 2
some-alt