<div class="container">
  <h2>This Heading is Underlined and Overlined</h2>
  <h4>This sub-heading is underlined</h4>
  <p class="text">
    This paragraph of text has all its lines underlined. <span>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quaerat magni soluta repudiandae libero saepe. Perferendis, accusamus, iste aliquid hic eaque totam amet est illo vel ipsa corrupti ipsam dolorum harum!</span>
  </p>
  <p class="strike">This line of text is has a line through it.</p>
  <h6>This text will blink if your browser still supports the <code>blink</code> value.</h6>
</div>
body {
  background-color: #F5F5F5;
  color: #555;
  font-size: 2em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.container {
  max-width: 700px;
  padding: 30px;
  margin: 50px auto;
}

h2 {
  -moz-text-decoration-line: underline overline;
  text-decoration-line: underline overline;
}

h4 {
  -moz-text-decoration-line: underline;
  text-decoration-line: underline;
}

.text {
  -moz-text-decoration-line: underline;
  text-decoration-line: underline;
}

.text span {
  color: #888;
}

.strike {
  -moz-text-decoration-line: line-through;
  text-decoration-line: line-through;
}

h6 {
  -moz-text-decoration-line: blink;
  text-decoration-line: blink;
}