Hey everyone.. Today, in this CSS tutorial, we’re gonna take a look at the text-decoration CSS property. Text decoration is most commonly used on links (to underline text) and on lists (to put a line-through on crossed out items).

Text decoration is one the ‘a’ tags default browser style properties, which is why you always see anchor tags being underlined in HTML web pages without any CSS attached to it.


========== CSS for Beginners Playlist ==========
========== HTML Basics Course ==========

========== The Net Ninja ============

For more front-end development tutorials & to black-belt your coding skills, head over to – or

========== Social Links ==========

Twitter – @TheNetNinja –


  1. Hello Mr Ninja, love your videos and your enthusiasm, great work. Surprised that you don't have more views but I guess it's early days yet.

    I am a complete n00b when it comes to all this stuff, but I think (maybe wrong) you can apply more than one text decoration to an element…

    text-decoration : underline overline line-through;

    …if you specify more than one value (is that the correct term?) but leave a space between each, it seems to work okay.

    Let me know what you think, even if it's to tell me what a berk I am, lol.



Please enter your comment!
Please enter your name here