create a link javascript
<html>
<head></head>
<body>
<script>
var a = document.createElement('a');
var linkText = document.createTextNode("my title text");
a.appendChild(linkText);
a.title = "my title text";
a.href = "http://example.com";
document.body.appendChild(a);
</script>
</body>
</html>
Also in JavaScript:
- javascript recursion over array
- arr.sort
- javascript swap array elements
- javascript for loop 5 times
- factorial javascript
- drag n drop file upload react
- javascript days until end of month
- redux acions
- how to change background color in javascript w3schools
- javascript reverse array without modifying
- javascript default parameters
- ajax cdn
- iterate through list javascript
- js get current time minutes
- eslint ignore current line
- javascript get current hour
- loading screen html css js
- regex char or char
- negative reciprocal javascript
- angular access current scope from console
- set iframe height and width by js
- get child element by class javascript
- javascript scroll to top onclick
- straforma in stringa js