Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära 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

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 2

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

Awesome!

Completion rate improved to 8.33

bookEmphasis and Quotations

Svep för att visa menyn

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

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 2
some-alt