aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/document/images/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ko/web/api/document/images/index.html')
-rw-r--r--files/ko/web/api/document/images/index.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/files/ko/web/api/document/images/index.html b/files/ko/web/api/document/images/index.html
new file mode 100644
index 0000000000..702ad66bc5
--- /dev/null
+++ b/files/ko/web/api/document/images/index.html
@@ -0,0 +1,52 @@
+---
+title: Document.images
+slug: Web/API/Document/images
+translation_of: Web/API/Document/images
+---
+<div>{{APIRef("DOM")}}</div>
+
+<p><code>document.images</code> 는 현재 HTML document 내부의 <a href="/en-US/docs/DOM/Image" title="DOM/Image">images</a> collection을 반환합니다.</p>
+
+<h2 id="Syntax" name="Syntax">Syntax</h2>
+
+<pre class="syntaxbox"><em>var htmlCollection</em> = document.images;</pre>
+
+<h2 id="Example" name="Example">Example</h2>
+
+<pre class="brush:js">var ilist = document.images;
+
+for(var i = 0; i &lt; ilist.length; i++) {
+ if(ilist[i].src == "banner.gif") {
+ // found the banner
+ }
+}</pre>
+
+<h2 id="Notes" name="Notes">Notes</h2>
+
+<p><code>document.images.length</code> – 페이지의 이미지 갯수를 반환하는 속성</p>
+
+<p><code>document.images </code>는 DOM HTML의 part이며, HTML documents 에서만 지원된다.</p>
+
+<h2 id="Specifications" name="Specifications">Specifications</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', '#dom-document-images', 'Document.images')}}</td>
+ <td>{{ Spec2('HTML WHATWG') }}</td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td>{{SpecName('DOM2 HTML', 'html.html#ID-90379117', 'Document.images')}}</td>
+ <td>{{ Spec2('DOM2 Events') }}</td>
+ <td>Initial definition.</td>
+ </tr>
+ </tbody>
+</table>