How to include the HTML tag inside the javascript tags?

Answer Posted / r.deepe

by using document.writeln() function we can use HTML tags

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are Attributes and Property the same?

766


Write about the errors shown in javascript?

638


The below script is working Internet browser but not working in mozilla plz find that good way... function doSubmit(op){ var rowcount=document.getElementsByName ("parameterTypeId").length; var parameterGrade; var performance; var goal; if(op == "save"){ for (var i=0; i < rowcount; i++) { var param=eval("document.forms [0].parameterGrade"+i); if(param.value != "select"){ return true; } } alert("Please rate atleast one attribute"); return false; }//if ends here

2227


Why are callbacks used?

629


What is the difference between the operators '==' and '==='?

723


How to create scale in P info

2169


What are the different actions that are performed using javascript?

795


What is the difference between ‘let’ and ‘const’?

721


What is javascript hoisting?

707


What are the data types in js?

695


Is javascript faster than asp script?

700


How do I open a .js file?

637


What is the prototype object in javascript and how it is used?

723


What is the best site to learn javascript?

638


Does javascript support foreach loop?

713