 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
Kiitos palautteestasi!
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Awesome!
Completion rate improved to 8.33 Emphasis and Quotations
Emphasis 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 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
Kiitos palautteestasi!