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
Tak for dine kommentarer!
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Awesome!
Completion rate improved to 8.33
Emphasis and Quotations
Stryg for at vise menuen
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
Tak for dine kommentarer!