Jump to content

Web Foundations/Inline Elements

From Wikiversity
Internet word cloud
Internet word cloud

This lesson introduces HTML text elements.

Objectives and Skills

[edit | edit source]

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 | edit source]
  1. Wikipedia: Inline element
  2. Wikibooks: HyperText Markup Language/Text Formatting

Multimedia

[edit | edit source]

Examples

[edit | edit source]

Set font to boldface where possible.[3]

<b>text</b>

Example: text

Italic

[edit | edit source]

Set font to italic where possible.[4]

<i>text</i>

Example: text

Strong

[edit | edit source]

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

<strong>text</strong>

Example: text

Emphasis

[edit | edit source]

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

<em>text</em>

Example: text

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

<code>text</code>

Example: text

Line Break

[edit | edit source]

A forced line break.[8]

text<br>more text

Example: text
more text

Activities

[edit | edit source]
  1. Complete the tutorial TutorialsPoint: HTML Formatting
  2. Complete the tutorial TutorialsPoint: HTML Phrase Tags

Key Terms

[edit | edit source]
bold tag
character set
em tag
fixed-width font
inline element
strong tag
text-level element
see inline element
Unicode

See Also

[edit | edit source]

References

[edit | edit source]