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

Which tag is used to create frames?

1 Answers  


Explain HTML Forms?

1 Answers   HCL,


What is tr td th in html?

1 Answers  


Can elements be overlapped in xhtml or not?

1 Answers  


How do you make frames?

1 Answers  


How to create nested web page in html?

1 Answers  


How do you spell lable or label?

1 Answers  


In how many ways you can display HTML elements?

1 Answers  


What is the use of dhtml?

1 Answers  


How we can make an image draggable?

1 Answers  


What is td in html?

1 Answers  


What is the svg element?

1 Answers  


Categories