How to use a HTML5 button

The use of the HTML5 button is in fact fairly simple. The official HTML5 button tag is button. This button can then be used in for example a form by adding a ="submit" type. One could also transform the button into a link by adding an onclick function by means of javascript. We would strongly advise against the use of this functionality though because from a SEO technical point of view a normal link is preferred.

<button></button>


Was this useful?