aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/api/document/url
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
commit074785cea106179cb3305637055ab0a009ca74f2 (patch)
treee6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/pt-br/web/api/document/url
parentda78a9e329e272dedb2400b79a3bdeebff387d47 (diff)
downloadtranslated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz
translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2
translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip
initial commit
Diffstat (limited to 'files/pt-br/web/api/document/url')
-rw-r--r--files/pt-br/web/api/document/url/index.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/files/pt-br/web/api/document/url/index.html b/files/pt-br/web/api/document/url/index.html
new file mode 100644
index 0000000000..e4a1d2eab7
--- /dev/null
+++ b/files/pt-br/web/api/document/url/index.html
@@ -0,0 +1,19 @@
+---
+title: Document.URL
+slug: Web/API/Document/URL
+translation_of: Web/API/Document/URL
+---
+<div>{{APIRef("DOM")}}</div>
+
+<p>A propriedade <code><strong>URL </strong></code>(usada apenas para leitura) da Interface {{domxref("Document")}} retorna a URL atual do navegador como um texto (string).</p>
+
+<h2 id="Syntax" name="Syntax">Síntaxe</h2>
+
+<pre class="brush: js">var <em>url_atual</em> = document.URL
+</pre>
+
+<h2 id="Specification" name="Specification">Documentação</h2>
+
+<ul>
+ <li><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-46183437">DOM - Nível 2 - HTML: URL</a></li>
+</ul>