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 are the different types of errors in javascript?
What will happen if an infinite while loop is run in Javascript?
What will be the output of the following statements?
How do you declare in javascript?
What is a scope in javascript?
When would you use var in your declaration and when you wouldn’t?
How can a particular frame be targeted, from a hyperlink, in javascript?
How to embed javascript in a web page?
Explain “use strict” ?
Explain arrow functions?
How onclick works in javascript?
What’s a way to append a value to an array?
How to write a comment in javascript?
What is output of “20” + 20? In javascript?
What is a null variable?