Dear Friends..
I am trying to implement an inline style inside the html tag <a href="#"></a>.
But am not able to find out the way..how to do that. Please help me.
Printable View
Dear Friends..
I am trying to implement an inline style inside the html tag <a href="#"></a>.
But am not able to find out the way..how to do that. Please help me.
Do you mean something like <a href="#" style="css here"></a> ?
Familiarise yourself with The CSS FAQ Swaraj, there's lots of gold in there ;)
Hi,
Not sure if this is what you are after but you can't style pseudo classes with inline styling because they don't exist in the html.
You can style the anchor only (a).
e.g.
<a href="#" style="color:red" >red</a>
(of course you shouldn't use inline styling anyway)
But you can't style any states such as :link, :visited, :hover or :active. They can only be done from the stylesheet.