1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<!DOCTYPE html> <html> <head> <meta charset=utf-8> </head> <body> <div></div> <script> var div = document.getElementsByTagName("div")[0]; div.innerHTML = "<div À Á Â Ã Ä Å "; div.innerHTML = "<div a>"; </script> </body> </html>