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 and where javascript namespacing is used?
What is servlet in javascript?
What is a currying function?
discuss scoping in javascript?
Which software is best for javascript?
How are event handlers utilized in javascript?
How do I use an external javascript file?
What is createtextnode?
Is jquery easier than javascript?
How to create a confirmation box?
If an array with name as "names" contain three elements, then how will you print the third element of this array?
What is local scope in javascript?