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 |
Is html and javascript the same?
Which built-in method sorts the elements of an array?
Explain the different types of pop-up boxes you can create in JavaScript.
How to update a function in javascript?
Explain the working of timers in javascript?
What is the meaning of callback function?
What is the relationship between Java script, J script and ECMA script?
How much do javascript programmers make?
How to convert javascript date to iso standard?
How to create a popup warning box?
How to reload the current page?
Difference between window.onload and onDocumentReady?