What Is HTML Text Formatting In HTML

HTML Formatting Elements

In the previous chapter, you learned about the HTML style attribute. In this lecture we learn HTML Text Formatting. HTML also defines special elements for defining text with a special meaning. HTML uses elements like <b> and <i> for formatting output, like bold or italic text. Formatting elements were designed to display special types of text: