Is there a way to create an HTML help button that appears as an image?
What would be the most appropriate and semantic approach to achieve this?
Below are three different solutions I have considered:
1st idea:
Using HTML
<button class='help'>
<img/>
</button>
2nd idea:
Using HTML
<button class='help'>
</button>
Using CSS
button.help
{
background-image:...;
}
3rd idea:
Using HTML
<img class='button' src='blabla'/>
I believe that the button
tag is crucial in this case, as it provides button-like functionality (clickable for help).