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

Does microsoft edge interfere with google chrome?

407


What is href in html?

449


What is the purpose of header and footer tags?

481


What do you mean by html?

430


How do I get form data emailed to me?

478






Is html client side?

515


What is strong tag in html?

412


What is xhtml? Why xhtml?

464


Is html table deprecated?

431


What is a style sheet?

494


How many tags are defined in xhtml 1.0?

486


Name two new tags included in the HTML 5?

490


What is meant by html tags?

488


What is the major improvement with HTML5 in reference to Flash?

395


Is img a self closing tag?

446