<col>

HTML <col> 요소는 표의 열을 나타내며, 열에 속하는 칸에 공통된 의미를 부여할 때 사용합니다. <colgroup> 안에서 찾을 수 있습니다.

콘텐츠 카테고리 없음.
가능한 콘텐츠 없음. 빈 요소입니다.
태그 생략 여는 태그는 필수입니다. 닫는 태그는 존재해선 안됩니다.
가능한 부모 요소 span 특성을 지정하지 않은 <colgroup> 요소.
가능한 ARIA 역할 없음
DOM 인터페이스 HTMLTableColElement

특성

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

span
<col>이 차지할 열의 수를 나타내는 양의 정수. 기본값은 1입니다.

예제

<col> 요소의 예제는 <table> 요소 문서에서 볼 수 있습니다.

명세

명세 상태 주석
HTML Living Standard
The definition of '<col>' in that specification.
Living Standard
HTML5
The definition of '<col>' in that specification.
Recommendation
HTML 4.01 Specification
The definition of '<col>' in that specification.
Recommendation

브라우저 호환성

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
colChrome Full support 1Edge Full support 12Firefox Full support 1IE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
align
Deprecated
Chrome ? Edge Full support 12Firefox No support No
Notes
No support No
Notes
Notes See bug 915.
IE Full support YesOpera ? Safari ? WebView Android ? Chrome Android ? Firefox Android No support No
Notes
No support No
Notes
Notes See bug 915.
Opera Android ? Safari iOS ? Samsung Internet Android ?
bgcolor
Deprecated
Chrome ? Edge ? Firefox No support NoIE Full support YesOpera ? Safari ? WebView Android ? Chrome Android ? Firefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android ?
char
Deprecated
Chrome ? Edge Full support 12Firefox No support No
Notes
No support No
Notes
Notes See bug 2212.
IE Full support YesOpera ? Safari ? WebView Android ? Chrome Android ? Firefox Android No support No
Notes
No support No
Notes
Notes See bug 2212.
Opera Android ? Safari iOS ? Samsung Internet Android ?
charoff
Deprecated
Chrome ? Edge Full support 12Firefox No support No
Notes
No support No
Notes
Notes See bug 2212.
IE Full support YesOpera ? Safari ? WebView Android ? Chrome Android ? Firefox Android No support No
Notes
No support No
Notes
Notes See bug 2212.
Opera Android ? Safari iOS ? Samsung Internet Android ?
spanChrome Full support 1Edge Full support 12Firefox Full support 1IE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
valign
Deprecated
Chrome ? Edge Full support 12Firefox No support No
Notes
No support No
Notes
Notes See bug 915.
IE Full support YesOpera ? Safari ? WebView Android ? Chrome Android ? Firefox Android No support No
Notes
No support No
Notes
Notes See bug 915.
Opera Android ? Safari iOS ? Samsung Internet Android ?
width
Deprecated
Chrome Full support 1Edge Full support 12Firefox Full support 1IE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.
See implementation notes.
See implementation notes.