源代码:
<!DOCTYPE html> <html> <body> <script> document.write(location.host); </script> </body> </html>
x
<!DOCTYPE html>
<
html
>
<
body
>
<
script
>
document
.
write
(
location
.
host
);
</
script
>
</
body
>
</
html
>
运行结果: