• 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 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

      More MDN. Your MDN.

    • FAQ

      Frequently asked questions about MDN Plus

  • Already a subscriber?
  • Get MDN Plus
  1. Webtechnologien für Entwickler
  2. Web API Referenz
  3. Document
  4. Document.URL

Der Inhalt dieser Seite wurde von der Community übersetzt, jedoch wird er nicht mehr aktiv gepflegt und kann daher veraltet sein. Wenn du mithelfen möchtest, kannst du hier herausfinden wie deaktivierte Übersetzungen reaktiviert werden können.

In this article

  • Syntax
  • Spezifikation

Related Topics

  1. Document Object Model
  2. Document
  3. Konstruktor
    1. Document()
  4. Eigenschaften
    1. activeElement (en-US)
    2. adoptedStyleSheets (en-US)
    3. Deprecated alinkColor
    4. Deprecated all (en-US)
    5. Deprecated anchors (en-US)
    6. Deprecated applets (en-US)
    7. Deprecated bgColor (en-US)
    8. body
    9. characterSet (en-US)
    10. childElementCount (en-US)
    11. children (en-US)
    12. compatMode (en-US)
    13. contentType (en-US)
    14. currentScript (en-US)
    15. defaultView (en-US)
    16. designMode (en-US)
    17. dir
    18. doctype (en-US)
    19. documentElement
    20. documentURI (en-US)
    21. Deprecated domain (en-US)
    22. embeds (en-US)
    23. featurePolicy (en-US)
    24. Deprecated fgColor (en-US)
    25. firstElementChild (en-US)
    26. fonts (en-US)
    27. forms (en-US)
    28. Deprecated fullscreen (en-US)
    29. fullscreenElement (en-US)
    30. fullscreenEnabled (en-US)
    31. head
    32. Deprecated height (en-US)
    33. hidden (en-US)
    34. images (en-US)
    35. implementation (en-US)
    36. lastElementChild (en-US)
    37. lastModified (en-US)
    38. Deprecated lastStyleSheetSet (en-US)
    39. Deprecated linkColor (en-US)
    40. links (en-US)
    41. location (en-US)
    42. Non-Standard mozSyntheticDocument (en-US)
    43. Non-Standard msCapsLockWarningOff (en-US)
    44. Experimental Deprecated origin (en-US)
    45. pictureInPictureElement (en-US)
    46. pictureInPictureEnabled (en-US)
    47. plugins (en-US)
    48. pointerLockElement (en-US)
    49. Deprecated preferredStyleSheetSet (en-US)
    50. readyState
    51. referrer
    52. Deprecated rootElement (en-US)
    53. scripts (en-US)
    54. scrollingElement (en-US)
    55. Deprecated selectedStyleSheetSet (en-US)
    56. styleSheets (en-US)
    57. Deprecated styleSheetSets (en-US)
    58. Experimental timeline (en-US)
    59. title
    60. URL
    61. visibilityState (en-US)
    62. Deprecated vlinkColor (en-US)
    63. Deprecated width
    64. Deprecated xmlEncoding (en-US)
    65. Deprecated xmlVersion (en-US)
  5. Methoden
    1. adoptNode()
    2. append() (en-US)
    3. caretPositionFromPoint() (en-US)
    4. Non-Standard caretRangeFromPoint() (en-US)
    5. Deprecated clear() (en-US)
    6. close() (en-US)
    7. createAttribute()
    8. createAttributeNS() (en-US)
    9. createCDATASection() (en-US)
    10. createComment() (en-US)
    11. createDocumentFragment()
    12. createElement()
    13. createElementNS()
    14. Deprecated createEntityReference() (en-US)
    15. createEvent() (en-US)
    16. createExpression() (en-US)
    17. createNodeIterator() (en-US)
    18. createNSResolver() (en-US)
    19. createProcessingInstruction() (en-US)
    20. createRange() (en-US)
    21. createTextNode()
    22. Deprecated createTouch() (en-US)
    23. Deprecated createTouchList() (en-US)
    24. createTreeWalker()
    25. elementFromPoint() (en-US)
    26. elementsFromPoint() (en-US)
    27. Deprecated enableStyleSheetsForSet() (en-US)
    28. evaluate() (en-US)
    29. Deprecated execCommand() (en-US)
    30. exitFullscreen() (en-US)
    31. exitPictureInPicture() (en-US)
    32. Experimental exitPointerLock() (en-US)
    33. getAnimations() (en-US)
    34. getElementById()
    35. getElementsByClassName()
    36. getElementsByName() (en-US)
    37. getElementsByTagName() (en-US)
    38. getElementsByTagNameNS() (en-US)
    39. getSelection() (en-US)
    40. hasFocus() (en-US)
    41. hasStorageAccess() (en-US)
    42. importNode()
    43. Non-Standard mozSetImageElement() (en-US)
    44. open() (en-US)
    45. prepend() (en-US)
    46. Deprecated queryCommandEnabled() (en-US)
    47. Deprecated queryCommandSupported() (en-US)
    48. querySelector()
    49. querySelectorAll()
    50. Deprecated registerElement()
    51. releaseCapture() (en-US)
    52. replaceChildren() (en-US)
    53. requestStorageAccess() (en-US)
    54. write()
    55. writeln()
  6. Ereignisse
    1. Non-Standard afterscriptexecute (en-US)
    2. animationcancel (en-US)
    3. animationend (en-US)
    4. animationiteration (en-US)
    5. animationstart (en-US)
    6. Non-Standard beforescriptexecute (en-US)
    7. copy (en-US)
    8. cut (en-US)
    9. DOMContentLoaded (en-US)
    10. drag (en-US)
    11. dragend (en-US)
    12. dragenter (en-US)
    13. dragleave (en-US)
    14. dragover (en-US)
    15. dragstart (en-US)
    16. drop (en-US)
    17. fullscreenchange
    18. fullscreenerror (en-US)
    19. gotpointercapture (en-US)
    20. keydown (en-US)
    21. Deprecated keypress (en-US)
    22. keyup (en-US)
    23. lostpointercapture (en-US)
    24. Non-Standard mssitemodejumplistitemremoved (en-US)
    25. Non-Standard msthumbnailclick (en-US)
    26. paste (en-US)
    27. pointercancel (en-US)
    28. pointerdown (en-US)
    29. pointerenter (en-US)
    30. pointerleave (en-US)
    31. pointerlockchange (en-US)
    32. pointerlockerror (en-US)
    33. pointermove (en-US)
    34. pointerout (en-US)
    35. pointerover (en-US)
    36. pointerup (en-US)
    37. readystatechange
    38. scroll (en-US)
    39. selectionchange (en-US)
    40. selectstart (en-US)
    41. touchcancel (en-US)
    42. touchend (en-US)
    43. touchmove (en-US)
    44. touchstart (en-US)
    45. transitioncancel (en-US)
    46. transitionend (en-US)
    47. transitionrun (en-US)
    48. transitionstart (en-US)
    49. visibilitychange (en-US)
    50. wheel (en-US)
  7. Vererbung:
    1. Node
    2. EventTarget (en-US)
  8. Ähnliche Seiten zu DOM
    1. AbortController (en-US)
    2. AbortSignal (en-US)
    3. AbstractRange (en-US)
    4. Attr (en-US)
    5. CDATASection (en-US)
    6. CharacterData (en-US)
    7. Comment (en-US)
    8. CustomEvent (en-US)
    9. DOMError
    10. DOMException (en-US)
    11. DOMImplementation (en-US)
    12. DOMParser
    13. DOMPoint (en-US)
    14. DOMPointReadOnly (en-US)
    15. DOMRect (en-US)
    16. DOMTimeStamp (en-US)
    17. DOMTokenList
    18. DocumentFragment
    19. DocumentType (en-US)
    20. Element
    21. Event
    22. EventTarget (en-US)
    23. HTMLCollection
    24. MutationObserver
    25. NamedNodeMap (en-US)
    26. Node
    27. NodeIterator (en-US)
    28. NodeList (en-US)
    29. ProcessingInstruction (en-US)
    30. Range
    31. StaticRange (en-US)
    32. Text (en-US)
    33. TextDecoder (en-US)
    34. TextEncoder (en-US)
    35. TimeRanges (en-US)
    36. TreeWalker (en-US)
    37. XMLDocument (en-US)

In this article

  • Syntax
  • Spezifikation

Document.URL

Die schreibgeschützte Eigenschaft URL des Document interface gibt den Ort des Dokuments als String zurück.

Syntax

var string = document.URL

Spezifikation

  • DOM Level 2 HTML: URL

Last modified: 8. Dez. 2020, by MDN contributors

MDN logo

Your blueprint for a better internet.

  • MDN on Twitter
  • MDN on GitHub

MDN

  • About
  • Hacks Blog
  • Careers

Support

  • Product help
  • Report a page issue
  • Report a site 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–2022 by individual mozilla.org contributors. Content available under a Creative Commons license.