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

Is javascript the future?

680


Is javascript case sensitive language?

755


What does “1?+2+4 Evaluate to? What about 5 + 4 + “3??

739


How are object properties assigned?

679


How to write comment in JavaScript?

1153


What is a Typed Language?

771


What is the difference between scripting and programming?

662


Name some of the JavaScript features?

813


Why javascript is not secure?

666


What is arguments object in JavaScript?

738


What is an onclick?

688


Iam getting xml when we click on one button.Iam placing that xml in dom.Im getting that xml data in one xsl.In that xsl I want to increase the variable value which is declared in xsl. Ex: ffftt eeeeiii uuuuwww fff eeee uuuu

1876


What is string in javascript?

709


Which operator is used to assign a value to a variable?

648


What is the difference between window and document in Javascript?

745