Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Emphasis and Bold | Basic Elements
Introduction to HTML

bookEmphasis and Bold

The <em>, <i>, <strong>, and <b> elements are all examples of inline elements. The elements of <em> and <i> emphasize a text.

index.html

index.html

copy

The <strong> element is similar to the <em> element but is used to emphasize a text even more stronger.

This element is often rendered in bold text to indicate that the text is critical.

index.html

index.html

copy

The <b> element makes the text bold without implying any additional importance or emphasis.

index.html

index.html

copy

Some other common inline elements:

  • <abbr> indicates that the text it contains is an abbreviation or acronym;
  • <code> indicates that the text it contains is a code example or programming language keyword;
  • <mark> is used to highlight a piece of text within a block of text;
  • <sub> and <sup> are used to create subscript and superscript text, respectively;

Each of these elements can be used inline within a block of text to add meaning or formatting to specific words or phrases.

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 3

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

Suggested prompts:

Ställ mig frågor om detta ämne

Sammanfatta detta kapitel

Visa verkliga exempel

Awesome!

Completion rate improved to 3.45

bookEmphasis and Bold

Svep för att visa menyn

The <em>, <i>, <strong>, and <b> elements are all examples of inline elements. The elements of <em> and <i> emphasize a text.

index.html

index.html

copy

The <strong> element is similar to the <em> element but is used to emphasize a text even more stronger.

This element is often rendered in bold text to indicate that the text is critical.

index.html

index.html

copy

The <b> element makes the text bold without implying any additional importance or emphasis.

index.html

index.html

copy

Some other common inline elements:

  • <abbr> indicates that the text it contains is an abbreviation or acronym;
  • <code> indicates that the text it contains is a code example or programming language keyword;
  • <mark> is used to highlight a piece of text within a block of text;
  • <sub> and <sup> are used to create subscript and superscript text, respectively;

Each of these elements can be used inline within a block of text to add meaning or formatting to specific words or phrases.

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 3
some-alt