SHARE

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.

SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

========== CSS for Beginners Playlist ==========

https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT
========== HTML Basics Course ==========

https://www.youtube.com/playlist?list=PL4cUxeGkcC9ibZ2TSBaGGNrgh4ZgYE6Cc

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

For more front-end development tutorials & to black-belt your coding skills, head over to – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk

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

Twitter – @TheNetNinja – https://twitter.com/thenetninjauk

3 COMMENTS

  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.

    Cheers.

LEAVE A REPLY

Please enter your comment!
Please enter your name here