Answers for "href = javascript"

20

html a href

<a href="http://example.com" >Link text</a>
Posted by: Guest on May-16-2020
1

a href javascript

<a href="#" onclick="myJsFunc();">Run JavaScript Code</a>
Posted by: Guest on June-22-2021
4

a href tag

Actually href is a html attribute, which is used for passing page url to the a tag.
Example
<a href="url">Click here</a>
Posted by: Guest on June-25-2020
0

link href javascript

document.getElementById("Element").href = "http://example.com/";
Posted by: Guest on May-25-2021

Browse Popular Code Answers by Language