There are several tags that exist in HTML to format text, like
<sup>, etc. These formatting tags can make text bold, italic, superscripted, and more.
We’ve included a few basic examples to get you started. You can easily do a web search to find other formatting techniques.
Here are some basic examples:
<h2>This is a heading 2
This is a heading 2
Use this heading for the title of a section.
<h3>This is a heading 3
This is a heading 3
Use this heading for the title of a sub-section.
Surround text with a
<strong> tag to make it bold.
<strong>This text is bold.
This text is bold.
<em> tag to create italicized text.
<em>This whole sentence is italicized.
This whole sentence is italicized.
This sentence has
</em> in italics.
This sentence has these words in italics.
Bold and italics are commonly used together, but be careful not to over used them.
This is an example of italicized text that has been bolded. Be sure to place the tags in the correct order.
<strong><em>This text is bold and italicized.
This text is bold and italicized.
<sup> tag to make superscripted text.
Numbers and dates are often superscripted like, 25
Our special offer expires on the 25th.
<span> tag with a
style="" attribute to add color to text.
We offer a
<span style="color: red;">100%
</span> satisfaction guarantee!
We offer a 100% satisfaction guarantee!