All About Formatting in HTML

Formatting

<b> bold

<strong> important text

<i> and <em> Elements

<small> and <mark> Elements

<del> and <ins> Elements

<sub> and <sup> Elements

Quotation and Citation

Citations:

<!DOCTYPE html>
<html>
<head>
<title>HTML Citation Example</title>
</head>
<body>

<img src="img1.jpg" width="150" height="70" alt="citation">
<p><cite>HTML Citation</cite> - This is HTML Citation Example</p>

</body>
</html>

Quotations:

<!DOCTYPE html>
<html>
<head>
<title>HTML Quotations Example</title>
</head>
<body>

<p>This is HTML Quotations Tutorial. <br />
Here you will learn about <br />
<q>HTML short quote and long quote</q> <br />
with examples.</p>

</body>
</html>

HTML Comments

Examples:

HTML Colors

HTML Color Coding Methods

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store