HTML4까지 사용되던 태그속성들 중 HTML5로 변경되면서 CSS에서 이용이 가능한 표현속성들은 더 이상 사용하지 않게 되었습니다.
다시 말해, CSS로 가능한 것은 특별한 경우를 제외하곤 태그내에 사용하면 안되는 것입니다.
속성 | 적용태그 | 비고 |
align | caption, iframe, img, input, object, legend, table, hr, div, h1, h2, h3, h4, h5, h6, p, col, colgroup, tbody, td, tfoot, th, thead, tr | 정렬에 사용되었습니다. |
alink | body |
|
background | body | 배경이미지에 사용되었습니다. |
bgcolor | table, tr, td, th, body | 배경색상에 사용되었습니다. |
border | table, object |
|
cellpadding | table | 여백지정 |
cellspacing | table | 여백지정 |
char | col, colgroup, tbody, tfoot, th, thead, tr |
|
charoff | col, colgroup, tbody, tfoot, th, thead, tr |
|
clear | br |
|
compact | dl, menu, ol, ul |
|
frame | table |
|
frameborder | iframe |
|
height | td, th |
|
hspace | img, object |
|
link | body |
|
marginheight | iframe |
|
marginwidth | iframe |
|
noshade | hr |
|
nowrap | td, th |
|
rules | table |
|
scrolling | iframe |
|
size | hr |
|
text | body |
|
type | li, ol, ul |
|
valign | col, colgroup, tbody, td, tfoot, th, thead, tr |
|
vlink | body |
|
vspace | img, object |
|
width | hr, table, td, th, col, colgroup, pre |
|
등록된 댓글이 없습니다.