TEXT FORMATTING AND FONTS IN HTML

http://xomisse.com/blog/text-formatting-and-fonts-in-html/

by Ellie M

HTML

<h1>Level 1 Heading</h1>
<h2>Level 2 Heading</h2>
<h3>Level 3 Heading</h3>
<h4>Level 4 Heading</h4>
<h5>Level 5 Heading</h5>
<h6>Level 6 Heading</h6>

<p> This is a paragraph </p> 
<p> and this is a second paragraph </p>

This is one line and because I use line break<br>
It now goes to the next line. If I use line break twice<br><br>

It would skip two lines

<hr>
    
    <p>  <b>This is bolded using b</b></p>
    <p> <strong>This is bolded using strong</strong></p>
    
    <p> <i>This is in italic using i</i></p>
    <p> <em>This is in italic using em</em></p>
    
    <p><strike>This is strikethrough using strike</strike></p>
    <p><s>This is strikethrough using s</s></p>
<p><del>This is strikethrough for text that is deleted or replaced using del</del></p>
    
    <p><small>For smaller text</small></p>
    
    <p class="withfont">This is some text with a font!<p>

CSS

p.withfont { font-family: verdana; font-size: 10pt; color: red; }