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
Merci pour vos commentaires !
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Awesome!
Completion rate improved to 8.33
Emphasis and Quotations
Glissez pour afficher le 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
Merci pour vos commentaires !