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 html and javascript the same?

0 Answers  


Which built-in method sorts the elements of an array?

0 Answers  


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

0 Answers  


How to update a function in javascript?

0 Answers  


Explain the working of timers in javascript?

0 Answers  






What is the meaning of callback function?

0 Answers  


What is the relationship between Java script, J script and ECMA script?

1 Answers  


How much do javascript programmers make?

0 Answers  


How to convert javascript date to iso standard?

0 Answers  


How to create a popup warning box?

0 Answers  


How to reload the current page?

0 Answers  


Difference between window.onload and onDocumentReady?

0 Answers  


Categories