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

正しい答えを選んでください

すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 2.  2

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

セクション 2.  2
some-alt