Issue
I want to open a hyperlink by clicking on Icon, but I want to use my own image (jpg/png/svg) as Icon.
This is demo code. Do I have to make svg file and upload on below given website and use these Icons.
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
</head>
<body>
<i class="fa fa-cloud"></i>
<i class="fa fa-heart"></i>
<i class="fa fa-car"></i>
<i class="fa fa-file"></i>
<i class="fa fa-bars"></i>
</body>
</html>
Solution
This allows to clickable icon
<a href="your link here"> <i class="fa fa-dribbble fa-4x"></i></a>
<a href="your link here"> <i class="fa fa-behance-square fa-4x"></i></a>
<a href="your link here"> <i class="fa fa-linkedin-square fa-4x"></i></a>
<a href="your link here"> <i class="fa fa-twitter-square fa-4x"></i></a>
<a href="your link here"> <i class="fa fa-facebook-square fa-4x"></i></a>
This allows your custom image (png preffred) as your icon
<a href"clickable link here"><img src="icon.png"></a>
Answered By - SaiKiran
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.