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 to loop through array in javascript?

0 Answers  


What is the scope of a function?

0 Answers  


Is java is a fully object object oriented language?

2 Answers  


What is asynchronous javascript?

0 Answers  


How can you do a character count in javascript?

0 Answers  


Why we use java script when java also supports validation?

1 Answers  


What is a prompt box in javascript?

0 Answers  


How do I turn on javascript?

0 Answers  


how can i change colour of a image in aspx file?

0 Answers  


What are the main functions performed by javascript statements?

0 Answers  


how to get no of items from from weblist?

0 Answers  


What is === in javascript?

0 Answers  


Categories