I have a submit button that is used to save the form. Inside the submit button, I want to use an HTML tag. I use Font Awesome , and I would like the save icon to appear next to the word save in the button. HTML for this
<i class="icon-save"></i> Save
The only problem is that I cannot get HTML to display inside the value="" property on the submit button. How can I display HTML inside the submit button? This does not parse HTML, it actually displays a button with literal content
<input type="submit" value="<i class='icon-save'></i> Save" />
Here is an example of what I want
source share