What are the various formatting tags in HTML5 ?
- <b> and <strong> tags : Both tags are used to make the text bold. The text content of the tag is shown as important information on the webpage.
- <i> and <em> tags : Both tags are used to make the text italic and emphasized. Both the element have opening and closing tags.
- <small> and <big> tags : The <small> tag is used to set small font-size where as <big> tag is used to set big font-size.
- <sup> and <sub> tags : The <sup> tag is used to superscript a text whereas <sub> tag is used to subscript a text.
- <ins> and <del> tag : The <ins> tag is used to underline a text marking the part as inserted or added. It also has an opening and a closing tag. This tag is mainly used in text in place of deleted text whereas <del> tag is used to delete the text it adds a strike line on the text.
- <mark> tag : The <mark> tag is used to highlighting a text. It has an opening and closing tag.