Does document.write work in XHTML?



Does document.write work in XHTML?..

Answer / 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

More HTML DHTML Interview Questions

What is multilevel list in ms word?

0 Answers  


What are html5 tags?

0 Answers  


What is difference between html5 and html4?

0 Answers  


Why is flash player needed?

0 Answers  


What is html5 geolocation? How to use it?

0 Answers  


Do you have to close br tags?

0 Answers  


What happens if the number of values in the rows or cols attribute doesn’t add up to 100 percent?

0 Answers  


What is inline tag?

0 Answers  


Why doesn't my title show up when I click "check it out"?

0 Answers  


How would you automatically transfer your visitors to a new web page?

0 Answers  


What is b in html?

0 Answers  


Can I specify fractional weight values such as 670 or 973 for font weight?

0 Answers  


Categories