How to include the HTML tag inside the javascript tags?
Answers were Sorted based on User's Feedback
Answer / r.deepe
by using document.writeln() function we can use HTML tags
| Is This Answer Correct ? | 5 Yes | 1 No |
<script type="text/javascript">
document.write("<h1>Hi</h1>");
</script>
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kapil
write html tag within double courts to include html in java script
| Is This Answer Correct ? | 4 Yes | 9 No |
How to detect the OS on the client machine in JavaScript?
How many hours learn javascript?
What is the use of math object in javascript?
Name some of the built-in methods and the values returned by them.
How do you add an element at the beginning of an array?
Explain the unshift() method ?
How to create a popup warning box?
What is the difference between textContent and innerText?
What is the use of a map object in javascript?
What does undefined value mean in javascript?
what is a code in vb amount display in words
What is javascript ‘strict mode’?