-
Obsolete features, 구시대 유물들DEV/CSS 2015. 9. 20. 23:28
http://www.w3.org/TR/html5/obsolete.html
11 Obsolete features
11.2 Non-conforming features
Elements in the following list are entirely obsolete, and must not be used by authors:
아래 나오는 요소들은 완벽하게 시대에 뒤떨어졌으므로 쓰면 안됩니다!
applet
acronym
Use
abbr
instead.bgsound
Use
audio
instead.dir
Use
ul
instead.frame
frameset
noframes
Either use
iframe
and CSS instead, or use server-side includes to generate complete pages with the various invariant parts merged in.hgroup
To mark up subheadings, consider putting the subheading into a
p
element after theh1
-h6
element containing the main heading, or putting the subheading directly within theh1
-h6
element containing the main heading, but separated from the main heading by punctuation and/or within, for example, aspan class="subheading"
element with differentiated styling.Headings and subheadings, alternative titles, or taglines can be grouped using the
header
ordiv
elements.isindex
Use an explicit
form
and text field combination instead.listing
nextid
Use GUIDs instead.
noembed
plaintext
Use the "
text/plain
" MIME type instead.strike
Use
del
instead if the element is marking an edit, otherwise uses
instead.xmp
Use
pre
andcode
instead, and escape "<
" and "&
" characters as "<
" and "&
" respectively.basefont
big
blink
center
font
marquee
multicol
nobr
spacer
tt
-
Use appropriate elements or CSS instead.
Where the
tt
element would have been used for marking up keyboard input, consider thekbd
element; for variables, consider thevar
element; for computer code, consider thecode
element; and for computer output, consider thesamp
element.Similarly, if the
big
element is being used to denote a heading, consider using theh1
element; if it is being used for marking up important passages, consider thestrong
element; and if it is being used for highlighting text for reference purposes, consider themark
element.See also the text-level semantics usage summary for more suggestions with examples.
The following attributes are obsolete (though the elements are still part of the language), and must not be used by authors:
아래 속성들 역시 구시대의 유물이므로 (비록 이 속성들을 가지고 있는 요소들은 아직도 쓰일지라도) 쓰면 안됩니다!
charset
ona
elementscharset
onlink
elementsUse an HTTP Content-Type header on the linked resource instead.
coords
ona
elementsshape
ona
elementsmethods
ona
elementsmethods
onlink
elementsUse the HTTP OPTIONS feature instead.
name
ona
elements (except as noted in the previous section)name
onembed
elementsname
onimg
elementsname
onoption
elementsUse the
id
attribute instead.urn
ona
elementsurn
onlink
elementsSpecify the preferred persistent identifier using the
href
attribute instead.accept
onform
elementsUse the
accept
attribute directly on theinput
elements instead.nohref
onarea
elementsOmitting the
href
attribute is sufficient; thenohref
attribute is unnecessary. Omit it altogether.profile
onhead
elementsWhen used for declaring which
meta
terms are used in the document, unnecessary; omit it altogether, and register the names.When used for triggering specific user agent behaviors: use a
link
element instead.version
onhtml
elementsUnnecessary. Omit it altogether.
ismap
oninput
elementsUnnecessary. Omit it altogether. All
input
elements with atype
attribute in the Image Button state are processed as server-side image maps.usemap
oninput
elementslowsrc
onimg
elementsUse a progressive JPEG image (given in the
src
attribute), instead of using two separate images.target
onlink
elementsUnnecessary. Omit it altogether.
scheme
onmeta
elementsUse only one scheme per field, or make the scheme declaration part of the value.
archive
onobject
elementsclassid
onobject
elementscode
onobject
elementscodebase
onobject
elementscodetype
onobject
elementsUse the
data
andtype
attributes to invoke plugins. To set parameters with these names in particular, theparam
element can be used.declare
onobject
elementsRepeat the
object
element completely each time the resource is to be reused.standby
onobject
elementsOptimize the linked resource so that it loads quickly or, at least, incrementally.
type
onparam
elementsvaluetype
onparam
elementsUse the
name
andvalue
attributes without declaring value types.language
onscript
elements (except as noted in the previous section)Use the
type
attribute instead.event
onscript
elementsfor
onscript
elementsUse DOM Events mechanisms to register event listeners. [DOM]
datapagesize
ontable
elementsUnnecessary. Omit it altogether.
summary
ontable
elementsUse one of the techniques for describing tables given in the
table
section instead.axis
ontd
andth
elementsUse the
scope
attribute on the relevantth
.scope
ontd
elementsUse
th
elements for heading cells.datasrc
ona
,applet
,button
,div
,frame
,iframe
,img
,input
,label
,legend
,marquee
,object
,option
,select
,span
,table
, andtextarea
elementsdatafld
ona
,applet
,button
,div
,fieldset
,frame
,iframe
,img
,input
,label
,legend
,marquee
,object
,param
,select
,span
, andtextarea
elementsdataformatas
onbutton
,div
,input
,label
,legend
,marquee
,object
,option
,select
,span
, andtable
elementsUse script and a mechanism such as
XMLHttpRequest
to populate the page dynamically. [XHR]alink
onbody
elementsbgcolor
onbody
elementslink
onbody
elementsmarginbottom
onbody
elementsmarginheight
onbody
elementsmarginleft
onbody
elementsmarginright
onbody
elementsmargintop
onbody
elementsmarginwidth
onbody
elementstext
onbody
elementsvlink
onbody
elementsclear
onbr
elementsalign
oncaption
elementsalign
oncol
elementschar
oncol
elementscharoff
oncol
elementsvalign
oncol
elementswidth
oncol
elementsalign
ondiv
elementscompact
ondl
elementsalign
onembed
elementshspace
onembed
elementsvspace
onembed
elementsalign
onhr
elementscolor
onhr
elementsnoshade
onhr
elementssize
onhr
elementswidth
onhr
elementsalign
onh1
—h6
elementsalign
oniframe
elementsallowtransparency
oniframe
elementsframeborder
oniframe
elementshspace
oniframe
elementsmarginheight
oniframe
elementsmarginwidth
oniframe
elementsscrolling
oniframe
elementsvspace
oniframe
elementsalign
oninput
elementshspace
oninput
elementsvspace
oninput
elementsalign
onimg
elementsborder
onimg
elements (except as noted in the previous section)hspace
onimg
elementsvspace
onimg
elementsalign
onlegend
elementstype
onli
elementsalign
onobject
elementsborder
onobject
elementshspace
onobject
elementsvspace
onobject
elementscompact
onol
elementsalign
onp
elementswidth
onpre
elementsalign
ontable
elementsbgcolor
ontable
elementsbordercolor
ontable
elementscellpadding
ontable
elementscellspacing
ontable
elementsframe
ontable
elementsrules
ontable
elementswidth
ontable
elementsalign
ontbody
,thead
, andtfoot
elementschar
ontbody
,thead
, andtfoot
elementscharoff
ontbody
,thead
, andtfoot
elementsvalign
ontbody
,thead
, andtfoot
elementsalign
ontd
andth
elementsbgcolor
ontd
andth
elementschar
ontd
andth
elementscharoff
ontd
andth
elementsheight
ontd
andth
elementsnowrap
ontd
andth
elementsvalign
ontd
andth
elementswidth
ontd
andth
elementsalign
ontr
elementsbgcolor
ontr
elementschar
ontr
elementscharoff
ontr
elementsvalign
ontr
elementscompact
onul
elementstype
onul
elementsbackground
onbody
,table
,thead
,tbody
,tfoot
,tr
,td
, andth
elementsUse CSS instead.
The
border
attribute on thetable
element can be used to provide basic fallback styling for the purpose of making tables legible in browsing environments where CSS support is limited or absent, such as text-based browsers, WYSIWYG editors, and in situations where CSS support is disabled or the style sheet is lost. Only the empty string and the value "1
" may be used asborder
values for this purpose. Other values are considered obsolete. To regulate the thickness of such borders, authors should instead use CSS.음 글자색을 입히다가 너무 많아서 포기했다.
아무튼 쓰지 말라고 하시니 절대 쓰지말자!