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 javascript enabled on chrome?
What is the difference between java and java script?
What are self Executing Functions?
Explain the different types of pop-up boxes you can create in JavaScript.
What is the importance of javascript? Expalin
What is the use of a form in html page? Is there any way to submit the page without using the form.
Is javascript frontend or backend?
hi i want validations for two dropdown lists in java script.when user enter to second dropdown list by skipping first dropdown list we should get alert box. please help me very urgent
How to find the selected radio button immediately using the 'this' variable?
What is difference between undefined variable and undeclared variable?
what is java?
How do I open a .js file?