Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Enhancing Text and Interactivity in HTML | Section
Getting Started with HTML

bookEnhancing Text and Interactivity in HTML

メニューを表示するにはスワイプしてください

Text formatting tags

HTML provides several text formatting tags that allow you to add emphasis, underline, or strikethrough text as needed.

The <strong> and <em> tags are used to emphasize text. The <strong> tag renders text in bold, indicating strong importance, while the <em> tag renders text in italics, indicating emphasis.

The <u> tag underlines text to provide visual clarity and highlight important information. However, use underlining sparingly to avoid cluttering the text.

The <s> tag strikes through text, indicating deletion or irrelevance. It is commonly used to show that certain text has been removed or is no longer valid.
Example:

index.html

index.html

copy

In the example above:

  • <strong> and <em> tags provide emphasis to text, with <strong> rendering text in bold and <em> rendering it in italics;
  • The <u> tag underlines text, highlighting it visually;
  • The <s> tag strikes through text, indicating deletion or irrelevance.
question mark

Select the correct statement from the options provided.

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

すべて明確でしたか?

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

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

セクション 1.  8

AIに質問する

expand

AIに質問する

ChatGPT

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

セクション 1.  8
some-alt