Q:

How to remove underline in links in wordpress?

I am new to wordpress theme development.I tried well but not getting right .how to remove underline from links.
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url')?>">
<h1 calss="vijay">
    <?php wp_loginout('www.google.co.in')?>
</h1>

css file.
h1{
    color:red;
    text-decoration: none;
}.

A:

Hyperlinks are governed by anchor tags <a> hence you have to use a in 
your css link this

 h1 a {
text-decoration: none;
}

you can refer to W3School

