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

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 2

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

Suggested prompts:

Can you give examples of how to use these HTML elements?

What is the difference between `strong` and `em` in terms of accessibility?

When should I use `blockquote` versus just quotation marks?

Awesome!

Completion rate improved to 8.33

bookEmphasis and Quotations

Scorri per mostrare il menu

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

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 2
some-alt