Stats

242 Contributors: 12 Wednesday, December 28, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Text Formatting

Introduction

While most HTML tags are used to create elements, HTML also provides in-text formatting tags to apply specific text-related styles to portions of text. This topic includes examples of HTML text formatting such as highlighting, bolding, underlining, subscript, and stricken text.

Syntax

  • <abbr>Abbreviation</abbr>
  • <b>Bold Text</b>
  • <del>Deleted Text</del>
  • <em>Emphasized Text</em>
  • <i>Italic Text</i>
  • <ins>Inserted Text</ins>
  • <mark>Marked (or Highlighted) Text</mark>
  • <s>Stricken Text</s>
  • <strong>Strong Text</strong>
  • <sub>Subscript Text</sub>
  • <sup>Superscript Text</sup>
  • <u>Underlined Text</u>

Related Examples