diff options
Diffstat (limited to 'files/ko/web/api/htmlanchorelement/href/index.html')
-rw-r--r-- | files/ko/web/api/htmlanchorelement/href/index.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/files/ko/web/api/htmlanchorelement/href/index.html b/files/ko/web/api/htmlanchorelement/href/index.html new file mode 100644 index 0000000000..ec1e854a73 --- /dev/null +++ b/files/ko/web/api/htmlanchorelement/href/index.html @@ -0,0 +1,52 @@ +--- +title: HTMLHyperlinkElementUtils.href +slug: Web/API/HTMLAnchorElement/href +tags: + - API + - Experimental + - HTMLHyperlinkElementUtils + - Location + - Property + - Reference +translation_of: Web/API/HTMLHyperlinkElementUtils/href +original_slug: Web/API/HTMLHyperlinkElementUtils/href +--- +<div>{{ApiRef("URL API")}}</div> + +<p><strong><code>HTMLHyperlinkElementUtils.href</code></strong> 속성은 온전한 URL을 값으로 가지는 {{domxref("USVString")}}입니다.</p> + +<h2 id="예제">예제</h2> + +<pre class="brush: js">// Lets imagine an <a id="myAnchor" href="https://developer.mozilla.org/en-US/HTMLHyperlinkElementUtils/href"> element is in the document +var anchor = document.getElementById("myAnchor"); +var result = anchor.href; // Returns: 'https://developer.mozilla.org/en-US/HTMLHyperlinkElementUtils/href' +</pre> + +<h2 id="명세">명세</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{SpecName('HTML WHATWG', '#dom-hyperlink-href', 'HTMLHyperlinkElementUtils.href')}}</td> + <td>{{Spec2('HTML WHATWG')}}</td> + <td>Initial definition.</td> + </tr> + </tbody> +</table> + +<h2 id="브라우저_호환성">브라우저 호환성</h2> + + + +<p>{{Compat("api.HTMLHyperlinkElementUtils.href")}}</p> + +<h2 id="같이_보기">같이 보기</h2> + +<ul> + <li>{{domxref("HTMLHyperlinkElementUtils")}}</li> +</ul> |