underline text in html css code example Example: how to underline font in css h3 { text-decoration: underline; }