aboutsummaryrefslogtreecommitdiff
path: root/files/de/web/api/document/url/index.html
blob: 29770925ee1ccfc3669280be6caa7197d5c5ba0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
title: Document.URL
slug: Web/API/Document/URL
translation_of: Web/API/Document/URL
---
<div>{{APIRef("DOM")}}</div>

<p>Die schreibgeschützte Eigenschaft <code><strong>URL</strong></code> des {{domxref("Document")}} interface gibt den Ort des Dokuments als String zurück.</p>

<h2 id="Syntax" name="Syntax">Syntax</h2>

<pre class="brush: js">var <em>string</em> = document.URL
</pre>

<h2 id="Specification" name="Specification">Spezifikation</h2>

<ul>
 <li><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-46183437">DOM Level 2 HTML: URL</a></li>
</ul>