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 |
What exactly does javascript do?
List some of the disadvantages of javascript.
Write sample code for pagination using java script.
What is the use of debugger keyword in javascript?
What is the difference between typeof and instanceof operators in Javascript?
Can javascript code be broken in different lines?
How many types of functions are there in javascript?
Does javascript support multidimensional arrays ?
What is double exclamation point?
How to setting a cookie with the contents of a textbox?
Which javascript framework is in demand?
What are local variables in javascript?