1<!DOCTYPE html>
2<html>
3 <body>
4 <!--\|/id here-->
5<pid="myText"></p>6<pid="myTextTag"></p>7<script>8<!--Here we retrieve the text and show what we want to write...
9 var text = document.getElementById("myText");
10 var tag = document.getElementById("myTextTag");
11 var toWrite = "Hello"
12 var toWriteTag = "<a href='https://stackoverflow.com'>Stack Overflow</a>"
13 <!--...and here we are actually affecting the text.-->14 text.innerHTML = toWrite
15 tag.innerHTML = toWriteTag
16</script>17 <body>
18<html>
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content