 Emphasis and Quotations
Emphasis 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 strongto indicate that content is of strong importance, such as warnings or critical instructions;
- Use emto stress a word or phrase, indicating a change in tone or emphasis within the sentence.
For quotations:
- The blockquoteelement semantically marks a section as a long quotation from another source;
- The citeelement is used to reference the source of a quote, book, article, or creative work.
index.html
Grazie per i tuoi commenti!
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
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 Emphasis and Quotations
Emphasis 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 strongto indicate that content is of strong importance, such as warnings or critical instructions;
- Use emto stress a word or phrase, indicating a change in tone or emphasis within the sentence.
For quotations:
- The blockquoteelement semantically marks a section as a long quotation from another source;
- The citeelement is used to reference the source of a quote, book, article, or creative work.
index.html
Grazie per i tuoi commenti!