document的事件:
    无典型事件。

document的方法:
    createElement()
    createStyleSheet()

---------------------------
一.描述body的属性
 alinkColor linkColor vlinkColor
 bgColor  fgColor
二.描述页面文档信息的属性(包括http头信息)
 charset defaultCharset cookie  fileCreatedDate   fileModifiedDate  
 fileSize   lastModified
 URL
  URLUnencoded referrer只是链接方式打开本页的前网页地址。

三.document中的对象
 body对象 forms数组 anchors(定位标签)数组 links数组
 images数组 scripts数组 applets数组 all数组    styleSheets数组
 title对象
--------------------------------------------------
<script>的属性: defer:装载页面时不用分析执行script脚本,而是在页面生成之后才执行script脚本。

相关文章:

  • 2022-12-23
  • 2021-09-05
  • 2021-09-26
  • 2021-12-14
  • 2021-06-11
猜你喜欢
  • 2022-02-23
  • 2022-02-10
  • 2021-05-30
  • 2022-12-23
  • 2022-01-05
  • 2021-12-20
  • 2022-12-23
相关资源
相似解决方案