<!DOCTYPE html>
<html lang="en-US">
<body>
<p></p>
<p>Click on the button to add "Jquery Link" to the paragraph.</p>
<button onclick="myFunction()">Click Me</button>
<script>
var elem = document.getElementsByTagName("p")[0];
function myFunction(){
elem.innerHTML = '<a href="/jquery">Learn jQuery</a>';
}
</script> </body>
</html>