Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Enhancing Text and Interactivity in HTML | Section
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
HTML Basics for Absolute Beginners (Sliced) - 1768407373666

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.

Select the correct answer

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 11

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

bookEnhancing Text and Interactivity in HTML

Desliza para mostrar el menú

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.

Select the correct answer

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 11
some-alt