using font awesome on input field button text

StevieB

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 ?

Hashem Qolami

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>

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Font awesome icon and text in input submit button?

From Dev

How to change button text to font awesome icon using jquery

From Dev

How to change button text to font awesome icon using jquery

From Dev

How to add Font Awesome icon into <input> button?

From Dev

Overlapping a font awesome icon inside a text field

From Java

Font Awesome icon inside text input element

From Dev

Include font awesome inside input type text

From Dev

How to insert font awesome icon into text input?

From Dev

Adding font-awesome icon inside a input field when using simple-form

From Dev

Using font awesome with formtastic submit button

From Dev

Using font awesome with formtastic submit button

From Dev

How do I add a Font Awesome icon to file input field

From Dev

How do I get text below Icon button with font awesome

From Dev

How to input block of text next to Font Awesome icon in CSS?

From Dev

How to get font awesome icon into input type text

From Dev

Polymer - Using Font Awesome icons in pager-menu-button

From Dev

Polymer - Using Font Awesome icons in pager-menu-button

From Dev

Button Toggle using :before :after with Font Awesome Icons

From Dev

Rails - Using Font Awesome

From Dev

Rails - Using Font Awesome

From Dev

webpack using font awesome

From Dev

Aligning a toolbar with search text box using font awesome

From Dev

Nativescript Font Awesome in FormattedSring Button

From Dev

toggle button with font awesome and jquery

From Dev

toggle button with font awesome and jquery

From Dev

Bootbox and Font awesome icon in button

From Dev

Enable a button on entering text in input field

From Dev

Update the input text field on click of a button

From Dev

Font Awesome icon behind text

Related Related

HotTag

Archive