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/colgroup/index.html | 142 ++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 files/ko/web/html/element/colgroup/index.html (limited to 'files/ko/web/html/element/colgroup') diff --git a/files/ko/web/html/element/colgroup/index.html b/files/ko/web/html/element/colgroup/index.html new file mode 100644 index 0000000000..24993546d1 --- /dev/null +++ b/files/ko/web/html/element/colgroup/index.html @@ -0,0 +1,142 @@ +--- +title: +slug: Web/HTML/Element/colgroup +tags: + - Element + - HTML + - HTML tabular data + - Reference + - Web +translation_of: Web/HTML/Element/colgroup +--- +
{{HTMLRef}}
+ +

HTML <colgroup> 요소는 표의 열을 묶는 그룹을 정의합니다.

+ +
{{EmbedInteractiveExample("pages/tabbed/colgroup.html","tabbed-taller")}}
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
콘텐츠 카테고리없음.
가능한 콘텐츠{{htmlattrxref("span", "colgroup")}} 특성이 존재하는 경우 없음. {{glossary("empty element", "빈 요소")}}입니다.
+ 그렇지 않은 경우 0개 이상의 {{htmlelement("col")}} 요소.
태그 생략첫 번째 자식이 {{htmlelement("col")}} 요소이며, 바로 앞의 요소가 닫는 태그를 생략한 <colgroup> 요소가 아닐 때, 여는 태그를 생략할 수 있습니다.
+ 바로 뒤에 스페이스나 주석이 오지 않으면 닫는 태그를 생략할 수 있습니다.
가능한 부모 요소{{HTMLElement("table")}} 요소. <colgroup>은 모든 {{HTMLElement("thead")}}, {{HTMLElement("th")}}, {{HTMLElement("tbody")}}, {{HTMLElement("tfoot")}}, {{HTMLElement("tr")}} 요소 앞에 위치해야 하며, <table> 안에 {{htmlelement("caption")}} 요소가 존재하는 경우 <caption> 뒤에 와야 합니다.
가능한 ARIA 역할없음
DOM 인터페이스{{domxref("HTMLTableColElement")}}
+ +

특성

+ +

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

+ +
+
{{htmlattrdef("bgcolor")}} {{Non-standard_inline}}
+
열 그룹의 배경색. '#' 문자로 시작하는 6자리 16진수 RGB 코드 또는 사전 정의된 색상 키워드를 사용할 수 있습니다. +
참고: 표준 특성이 아니므로 사용하지 마세요. 배경색을 적용하려면 CSS {{cssxref("background-color")}} 특성을 사용해야 합니다.
+
+
{{htmlattrdef("span")}}
+
<colgroup>이 차지할 열의 수를 나타내는 양의 정수. 기본값은 1입니다. 내부에 {{htmlelement("col")}} 요소가 존재하면 사용할 수 없습니다.
+
+ + + +

예제

+ +

<colgroup> 요소의 예제는 {{htmlelement("table")}} 요소 문서에서 볼 수 있습니다.

+ +

명세

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
명세상태주석
{{SpecName('HTML WHATWG', 'tabular-data.html#the-colgroup-element', '<colgroup>')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5 W3C', 'tabular-data.html#the-colgroup-element', '<colgroup>')}}{{Spec2('HTML5 W3C')}}
{{SpecName('HTML4.01', 'tables.html#edef-COLGROUP', '<colgroup>')}}{{Spec2('HTML4.01')}}
+ +

브라우저 호환성

+ + + +

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

-- cgit v1.2.3-54-g00ecf