0

I want to use a font awesome class i.e. search glass

http://fortawesome.github.io/Font-Awesome/icon/search/

i.e.

<i class="fa fa-search"></i> fa-search

on a input field (Note its' to remain an input field)

<input class="aa_findaddress aa_button" type="button" value="Search">

Not sure how I can fit it in ?

StevieB
  • 6,263
  • 38
  • 108
  • 193

1 Answers1

1

Phrasing contents is permitted as the content of <button> element.

You could use <button> tag, as follows:

<button>
  <i class="fa fa-search"></i> Search
</button>
Hashem Qolami
  • 97,268
  • 26
  • 150
  • 164