• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Web Technology

      Web technology reference for developers

  • Guides
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • MDN Plus
    • Overview

      A customized MDN experience

    • Updates

      All browser compatibility updates at a glance

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Log in
  • Get MDN Plus
  1. Web 开发技术
  2. Web API 接口参考
  3. Document
  4. document.applets

此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

  1. Document
  2. 构造函数
    1. Document()
  3. 实例属性
    1. activeElement
    2. adoptedStyleSheets (en-US)
    3. alinkColor 已弃用
    4. all 已弃用
    5. anchors 已弃用
    6. applets 已弃用
    7. bgColor 已弃用
    8. body
    9. characterSet
    10. childElementCount (en-US)
    11. children (en-US)
    12. compatMode
    13. contentType
    14. cookie
    15. currentScript
    16. defaultView
    17. designMode
    18. dir
    19. doctype
    20. documentElement
    21. documentURI
    22. domain 已弃用
    23. embeds
    24. featurePolicy (en-US) 实验性
    25. fgColor 已弃用
    26. firstElementChild (en-US)
    27. fonts
    28. forms
    29. fragmentDirective (en-US) 实验性
    30. fullscreen 已弃用
    31. fullscreenElement
    32. fullscreenEnabled
    33. head
    34. hidden
    35. images
    36. implementation
    37. lastElementChild (en-US)
    38. lastModified
    39. lastStyleSheetSet 非标准 已弃用
    40. linkColor 已弃用
    41. links
    42. location
    43. pictureInPictureElement
    44. pictureInPictureEnabled
    45. plugins
    46. pointerLockElement
    47. preferredStyleSheetSet 非标准 已弃用
    48. readyState
    49. referrer
    50. rootElement (en-US) 已弃用
    51. scripts
    52. scrollingElement
    53. selectedStyleSheetSet 非标准 已弃用
    54. styleSheets
    55. styleSheetSets 非标准 已弃用
    56. timeline
    57. title
    58. URL
    59. visibilityState
    60. vlinkColor (en-US) 已弃用
    61. xmlEncoding (en-US) 已弃用
    62. xmlVersion (en-US) 已弃用
  4. 实例方法
    1. adoptNode()
    2. append() (en-US)
    3. caretPositionFromPoint() (en-US)
    4. caretRangeFromPoint() 非标准
    5. clear() 已弃用
    6. close()
    7. createAttribute()
    8. createAttributeNS() (en-US)
    9. createCDATASection()
    10. createComment()
    11. createDocumentFragment()
    12. createElement()
    13. createElementNS()
    14. createEvent()
    15. createExpression()
    16. createNodeIterator()
    17. createNSResolver()
    18. createProcessingInstruction()
    19. createRange()
    20. createTextNode()
    21. createTouch() (en-US) 非标准 已弃用
    22. createTouchList() (en-US) 非标准 已弃用
    23. createTreeWalker()
    24. elementFromPoint()
    25. elementsFromPoint()
    26. enableStyleSheetsForSet() (en-US) 非标准 已弃用
    27. evaluate()
    28. execCommand() 已弃用
    29. exitFullscreen()
    30. exitPictureInPicture()
    31. exitPointerLock()
    32. getAnimations() (en-US)
    33. getElementById()
    34. getElementsByClassName()
    35. getElementsByName()
    36. getElementsByTagName()
    37. getElementsByTagNameNS()
    38. getSelection()
    39. hasFocus()
    40. hasStorageAccess()
    41. importNode()
    42. mozSetImageElement() (en-US) 非标准
    43. open()
    44. prepend() (en-US)
    45. queryCommandEnabled() 非标准 已弃用
    46. queryCommandState() 非标准 已弃用
    47. queryCommandSupported() 非标准 已弃用
    48. querySelector()
    49. querySelectorAll()
    50. releaseCapture() 非标准
    51. replaceChildren() (en-US)
    52. requestStorageAccess() (en-US)
    53. startViewTransition() (en-US) 实验性
    54. write()
    55. writeln()
  5. 事件
    1. afterscriptexecute 非标准
    2. beforescriptexecute 非标准
    3. copy (en-US)
    4. cut (en-US)
    5. DOMContentLoaded
    6. fullscreenchange
    7. fullscreenerror
    8. lostpointercapture (en-US)
    9. paste (en-US)
    10. pointerlockchange
    11. pointerlockerror (en-US)
    12. readystatechange
    13. scroll
    14. scrollend (en-US)
    15. selectionchange
    16. visibilitychange
  6. 继承
    1. Node
    2. EventTarget

document.applets

概述

applets 按顺序返回当前文档中所有的applet对象。

语法

nodeList = document.applets

例子

my_java_app = document.applets[1]; //获取当前页面的第二个 applet 对象。

规范

DOM Level 2 HTML: applets

Found a content problem with this page?

  • Edit the page on GitHub.
  • Report the content issue.
  • View the source on GitHub.
Want to get more involved? Learn how to contribute.

This page was last modified on 2022年9月21日 by MDN contributors.

MDN logo

Your blueprint for a better internet.

  • MDN on Twitter
  • MDN on GitHub

MDN

  • About
  • Hacks Blog
  • Careers
  • Advertise with us

Support

  • Product help
  • Report an issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
Mozilla logo
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2023 by individual mozilla.org contributors. Content available under a Creative Commons license.