change font html code example

Example 1: html font size

<span style="font-size:20px;"></span>

Example 2: make text blue html

<p style="color:blue;">This paragraph is blue.</p>

Example 3: how to change font in html

<font face="yourfont">
  
  Lorem Ipsum
  
</font>

Example 4: how to change font in html

<font face="yourfont">

  Lorem Ipsum
  
</font>

Example 5: how to change the font in html

<script>//for typewriter font:</script>

<tt>
  <h1>Example Text</h1
</tt>

Example 6: how to choose font in html

font-family:

Tags:

Css Example