How to include the HTML tag inside the javascript tags?

Answers were Sorted based on User's Feedback



How to include the HTML tag inside the javascript tags?..

Answer / r.deepe

by using document.writeln() function we can use HTML tags

Is This Answer Correct ?    5 Yes 1 No

How to include the HTML tag inside the javascript tags?..

Answer / upendar

By Using

document.write("<html>");

Is This Answer Correct ?    3 Yes 0 No

How to include the HTML tag inside the javascript tags?..

Answer / ramyagurrala

<script type="text/javascript">

document.write("<h1>Hi</h1>");

</script>

Is This Answer Correct ?    1 Yes 0 No

How to include the HTML tag inside the javascript tags?..

Answer / shameena

using document.write("<HTML>");

Is This Answer Correct ?    1 Yes 1 No

How to include the HTML tag inside the javascript tags?..

Answer / kapil

write html tag within double courts to include html in java script

Is This Answer Correct ?    4 Yes 9 No

Post New Answer

More JavaScript Interview Questions

Is javascript enabled on chrome?

0 Answers  


What is the difference between java and java script?

9 Answers   IWW, Wipro,


What are self Executing Functions?

0 Answers  


Explain the different types of pop-up boxes you can create in JavaScript.

0 Answers  


What is the importance of javascript? Expalin

0 Answers  






What is the use of a form in html page? Is there any way to submit the page without using the form.

3 Answers   Kanbay, TCS,


Is javascript frontend or backend?

0 Answers  


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

2 Answers  


How to find the selected radio button immediately using the 'this' variable?

0 Answers  


What is difference between undefined variable and undeclared variable?

0 Answers  


what is java?

2 Answers  


How do I open a .js file?

0 Answers  


Categories