From the course: HTML for Educators

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Adding emphasis

Adding emphasis

- [Instructor] In a printed document, we add emphasis to text visually by setting it in italics, bold, or underlining it. Since we're conveying meaning through a largely visual medium, these conventions have been well established and accepted. In the early days of HTML, we also adopted these same conventions by using tags such as the <i> tag for italics, <b> for bold, and <u> for underline. They were quick to type and easy to remember, but if you consider applying the principles of Universal Design in the creation of content, these tags can add confusion rather than clarity to many users. In fact, since the convention for creating a link is to make it visually stand out by making it blue and underlined, the <u> tag tends to confuse more users than it helps. Instead, new semantic tags for adding levels of emphasis were created. The <em> tag defaults to visually display in italics on most browsers, and the <strong> tag defaults to bold. So visually, they appear the same initially. You…

Contents