JavaSript作业.docVIP

  • 34
  • 0
  • 约 44页
  • 2016-12-19 发布于河南
  • 举报
JavaScript作业 作业一 创建站点“最后两位学号_姓名_site2”,在站点中创建如下网页: 1、index1.htm:在HTML文件中创建脚本块,并利用document.write方法在网页上直接输出一段文字“你好!世界欢迎你!”。 html head meta http-equiv=Content-Type content=text/html; charset=gb2312 / title1/title /head script document.write(你好!世界欢迎你!) /script body /body /html 2、index2.htm:在HTML文件中创建脚本块,并利用window.alert弹出确认框“你好!世界欢迎你!”。 html xmlns=/1999/xhtml head meta http-equiv=Content-Type content=text/html; charset=gb2312 / title2/title /head script window.alert(你好!世界欢迎你!) /script body /body /html 3、index3.htm:在HTML文件中创建脚本块,并利用document.write方法在网页上分两行输出文字: 你好! 世界欢迎你! html head meta http-equ

文档评论(0)

1亿VIP精品文档

相关文档