How to include the HTML tag inside the javascript tags?
Answer Posted / ramyagurrala
<script type="text/javascript">
document.write("<h1>Hi</h1>");
</script>
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does two exclamation marks mean in javascript?
What are the types of data types?
What is meaning of === in javascript?
How to set the focus in an element using javascript?
What is the scope of a function?
Is javascript open source?
What are screen objects?
How do you clear an array in javascript?
What is difference between array.splice() and array.slice() method in javascript?
Is javascript used for backend?
What is npm repository?
what is a dataset
Should you disable javascript?
What are exports & imports?
Does spread operator deep copy?