CSS Tutorial

CSS Text Decoration

<!DOCTYPE html>
<title>Example</title>
<style>
  .overline {
    text-decoration: overline;
  }
  .line-through {
    text-decoration: line-through;
  }
  .underline {
    text-decoration: underline;
  }
  a:link {
    text-decoration: none;
  }
</style>
<p class="overline">This text has a line over the top</p>
<p class="line-through">This text has a line through the middle</p>
<p class="underline">This text has a line underneath</p>
<a href="/css/" target="_blank">This hyperlink has no underline</a>