基本信息
文件名称:JavaScript前端开发技术-题库 2.docx
文件大小:863.69 KB
总页数:62 页
更新时间:2026-01-22
总字数:约3.77万字
文档摘要
JavaScript前端开发技术-题库
200、下列选项所表示的“返回”超链接中,能实现“后退”按钮功能的是()。
A、ahref=javascript:history.go(-1)返回/a
B、ahref=javascript:location.back()返回/a
C、ahref=javascript:location.go(-1)返回/a
D、ahref=javascript:history.forward()返回/a
答案:A
解析:history.go(-1)和history.back()均可实现后退功能,location无back()和