I’m trying to use a button as a link. I have the following code:
<form action="http://thenerdystudent.blogspot.co.uk/">
<input type="submit" value="My blog" />
</form>
It works well as it is, but I’d like to add an icon. I tried doing this:
<form action="http://thenerdystudent.blogspot.co.uk/">
<input class="fa-file-text-o" type="submit" value="My blog" />
</form>
But it didn’t work. I also tried doing this:
<form action="http://thenerdystudent.blogspot.co.uk/">
<input <i class="fa-file-text-o"></i> type="submit" value="My blog" />
</form>
But it looks like that didn’t work either. Any way that I can add them to an input button?
Thanks in advance!