Header Ads

Header ADS

HTML Text formatting

Text formatting

<!DOCTYPE html> <html> <body> <p><b>This text is bold</b></p>
<p><strong>This text is strong</strong></p>
<p><em>This text is emphasized</em></p>
<p><i>This text is italic</i></p>
<p><small>This text is small</small></p>
<p>This is<sub> subscript</sub> and <sup>superscript</sup></p>
</body>
</html>

Output

This text is bold

This text is strong

This text is emphasized

This text is italic

This text is small

This is subscript and superscript

No comments

Powered by Blogger.