How to include the HTML tag inside the javascript tags?

Answer Posted / ramyagurrala

<script type="text/javascript">

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

</script>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a function in javascript and how does it work?

539


just for testing

1818


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

1617


List some of the advantages of javascript.

562


What is the use of ‘debugger’ keyword in javascript code?

574






What is javascript and how it works?

548


What does triple dot mean?

624


Is not a function error in javascript?

580


What are the data types in js?

571


What are the data types supported by javascript?

545


What is the function of delete operator?

645


How to accessing elements using javascript?

615


What is the use of Push method in JavaScript?

650


What are the five data types?

520


how to write frame work Architecture in QTP

1591