Does document.write work in XHTML?

Answer Posted / guest

No. Because of the way XML is defined, it is not possible to
do tricks like this, where markup is generated by scripting
while the parser is still parsing the markup.

You can still achieve the same effects, but you have to do
it by using the DOM to add and delete elements.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a doctype?

614


What are the types of list in html?

594


What is title tag in html?

708


What is doctype in html?

595


What is p tag?

588


What is the xhtml?

684


What is head and

677


tell me what is the ? Is it necessary to use in html5

576


How do I know if I have html5?

605


How to redirect using HTML?

733


What is ol and ul?

618


What are smart tags in word?

620


Does footer go inside body?

552


What is an xhtml element?

640


What is a text tag?

645