From da78a9e329e272dedb2400b79a3bdeebff387d47 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:17 -0500 Subject: initial commit --- files/ko/web/html/element/caption/index.html | 153 +++++++++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 files/ko/web/html/element/caption/index.html (limited to 'files/ko/web/html/element/caption') diff --git a/files/ko/web/html/element/caption/index.html b/files/ko/web/html/element/caption/index.html new file mode 100644 index 0000000000..4766e0588e --- /dev/null +++ b/files/ko/web/html/element/caption/index.html @@ -0,0 +1,153 @@ +--- +title: ': 표 설명 요소' +slug: Web/HTML/Element/caption +tags: + - Element + - HTML + - HTML tabular data + - Reference + - Web +translation_of: Web/HTML/Element/caption +--- +
{{HTMLRef}}
+ +

HTML <caption> 요소는 표의 설명 또는 제목을 나타냅니다.

+ +
{{EmbedInteractiveExample("pages/tabbed/caption.html", "tabbed-taller")}}
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
콘텐츠 카테고리없음
가능한 콘텐츠플로우 콘텐츠.
태그 생략바로 뒤에 스페이스나 주석이 오지 않으면 닫는 태그를 생략할 수 있습니다.
가능한 부모 요소{{htmlelement("table")}} 요소. 첫 번째 자식이어야 합니다.
가능한 ARIA 역할없음
DOM 인터페이스{{domxref("HTMLTableCaptionElement")}}
+ +

특성

+ +

이 요소는 전역 특성만 포함합니다.

+ + + +

사용 일람

+ +

<caption> 요소는 부모 {{htmlelement("table")}} 요소의 첫 번째 자식이어야 합니다.

+ +

<caption> 요소를 가진 <table> 요소가 만약 {{HTMLElement("figure")}} 요소의 유일한 자식인 경우, {{htmlelement("figcaption")}}을 대신 사용하세요.

+ +

예제

+ +

다음의 간단한 예제는 설명을 포함한 표를 보입니다.

+ +
<table>
+  <caption>Example Caption</caption>
+  <tr>
+    <th>Login</th>
+    <th>Email</th>
+  </tr>
+  <tr>
+    <td>user1</td>
+    <td>user1@sample.com</td>
+  </tr>
+  <tr>
+    <td>user2</td>
+    <td>user2@sample.com</td>
+  </tr>
+</table>
+ + + +

{{EmbedLiveSample('예제', 650, 100)}}

+ +

명세

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('HTML WHATWG', 'tables.html#the-caption-element', '<caption>')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5 W3C', 'tabular-data.html#the-caption-element', '<caption>')}}{{Spec2('HTML5 W3C')}}
{{SpecName('HTML4.01', 'struct/tables.html#h-11.2.2', '<caption>')}}{{Spec2('HTML4.01')}}
+ +

브라우저 호환성

+ + + +

{{Compat("html.elements.caption")}}

-- cgit v1.2.3-54-g00ecf