Button with link
Sometimes we need to create link on button in html . To do so we just need to add button tag on text of <a> tag.In below line of code we have applied <button> tag on text of <a> tag.
<a href="http://www.codesplanet.blogspot.com" target="_parent"><button>Click me !</button></a>
Now we have a button with link on it
No comments:
Post a Comment