Web Foundations/Inline Elements

From Wikiversity
Jump to navigation Jump to search
Internet word cloud

This lesson introduces HTML text elements.

Objectives and Skills[edit]

Objectives and skills for this lesson include:[1][2]

  • Use the most current version of Hypertext Markup Language (HTML5) to create Web pages.
  • Design Web pages to industry standards.

Readings[edit]

  1. Wikipedia: Inline element
  2. Wikibooks: HyperText Markup Language/Text Formatting

Multimedia[edit]

Examples[edit]

Bold[edit]

Set font to boldface where possible.[3]

<b>text</b>

Example: text

Italic[edit]

Set font to italic where possible.[4]

<i>text</i>

Example: text

Strong[edit]

Strong emphasis (conventionally displayed bold). An aural user agent may use different voices for emphasis.[5]

<strong>text</strong>

Example: text

Emphasis[edit]

Emphasis (conventionally displayed in italics). An aural user agent may use different voices for emphasis.[6]

<em>text</em>

Example: text

Code[edit]

A code snippet. Conventionally rendered in a mono-space font.[7]

<code>text</code>

Example: text

Line Break[edit]

A forced line break.[8]

text<br>more text

Example: text
more text

Activities[edit]

  1. Complete the tutorial TutorialsPoint: HTML Formatting
  2. Complete the tutorial TutorialsPoint: HTML Phrase Tags

Key Terms[edit]

bold tag
character set
em tag
fixed-width font
inline element
strong tag
text-level element
see inline element
Unicode

See Also[edit]

References[edit]