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

What is new function in javascript?

0 Answers  


Why javascript is dangerous?

0 Answers  


since are functions need to create a webpage is available in dhtml& html. then why we are going for javascript

1 Answers  


Is client side front end?

0 Answers  


How do you target a specific frame from a hyperlink in javascript?

0 Answers  






How can you create an Array in JavaScript?

0 Answers  


Auto insurance project..How to explain project in interviews.Using Automation tool (selenium).

0 Answers  


What is the difference between childNode and children?

0 Answers  


what is interface ?

5 Answers  


What is scope variable in javascript?

0 Answers  


Which built-in method returns the characters in a string beginning at the specified location?

0 Answers  


What are the variables in javascript?

0 Answers  


Categories