下列选项中能够使当前页面变为http://www.sohu.com的是()。


下列选项中能够使当前页面变为http://www.sohu.com的是()。

A.location="http://www.sohu.com"

B.location.href="http://www.sohu.com"

C.document.location="http://www.sohu.com"

D.window.location="http://www.sohu.com"

正确答案:ABCD


Tag:页面 时间:2022-12-19 20:46:06