Most text stylizing (font size, color, alignment) is defined using CSS rules within cascading style sheets, however, HTML provide a few inline elements that can be used to stylize text.
- <strong>
- Text contained between opening and closing strong tags is displayed in bold and is emphasized by screen readers in a different audible tone of voice. Use deliberately if you want to emphasize text for those that are hearing impaired.
- <b>
- Text contained between opening and closing b tags is displayed in bold without emphasizing it by screen readers.
- <em>
- Text contained between opening and closing em tags is displayed in italics and is emphasized by screen readers in a different audible tone of voice. Use deliberately if you want to emphasize text for those that are hearing impaired.
- <i>
- Text contained between opening and closing i tags is displayed in italics without emphasizing it by screen readers.
- <u>
- Text contained between opening and closing u tags is displayed underlined. Be deliberate when underlining text as most people interpret underlined text with links.
© 2017 – 2018, Eric. All rights reserved.