What is Text Formatting in HTML?
- In HTML Text formatting tags are used to format the text on webpage.
- With Text Formatting we can bold, italic, underline, etc. the text.
- Text Formatting is manly used to display the text in a special type.
1). Bold
This tag is used to make the text as bold text.
Output: In the paragraph This is bold
2). Strong
This tag is also used to bold but it is used to give more importance to the text as compared to bold text. And it also helps in SEO.
Output: This is Special strong text
3). Italic
This HTML tag is used to make the text italic.
Output: This is an italic text
4). Emphasized
<em> defines the emphasized text. The text within <em> tag interacts like the <i> tag. But it give it a meaning to be emphasized text.
Output: This is emphasized text
5). Underline
This tag is used to underline the text.
Output: Text with underline
6). Delete
The <del> tag is used to define the deleted text. Basically, this tag is used to place a line in the middle of the text.
Output: In my paragraph This is Deleted
7). Insert
<ins> defines a text that has been inserted into the document.
Output: This is an inserted
Code Described in the video