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

How do I link an external javascript file to html?

0 Answers  


How to read a cookie using javascript?

0 Answers  


What is the reason for wrapping the entire content of a javascript source file in a function book?

0 Answers  


How to embed javascript in a web page?

0 Answers  


Is jquery easier than javascript?

0 Answers  






When do we use JSON.stringify()?

0 Answers  


What is the use of math object in javascript?

0 Answers  


How can a particular frame be targeted, from a hyperlink, in javascript?

0 Answers  


How to find radio button selection when a form is submitted?

0 Answers  


what is the extension of java script.

2 Answers  


Which keywords are used to handle exceptions?

0 Answers  


How to reload a page using JavaScript?

0 Answers  


Categories