-
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:
아래 나오는 요소들은 완벽하게 시대에 뒤떨어졌으므로 쓰면 안됩니다!
appletacronymUse
abbrinstead.bgsoundUse
audioinstead.dirUse
ulinstead.frameframesetnoframesEither use
iframeand CSS instead, or use server-side includes to generate complete pages with the various invariant parts merged in.hgroupTo mark up subheadings, consider putting the subheading into a
pelement after theh1-h6element containing the main heading, or putting the subheading directly within theh1-h6element 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
headerordivelements.isindexUse an explicit
formand text field combination instead.listingnextidUse GUIDs instead.
noembedplaintextUse the "
text/plain" MIME type instead.strikeUse
delinstead if the element is marking an edit, otherwise usesinstead.xmpUse
preandcodeinstead, and escape "<" and "&" characters as "<" and "&" respectively.basefontbigblinkcenterfontmarqueemulticolnobrspacertt-
Use appropriate elements or CSS instead.
Where the
ttelement would have been used for marking up keyboard input, consider thekbdelement; for variables, consider thevarelement; for computer code, consider thecodeelement; and for computer output, consider thesampelement.Similarly, if the
bigelement is being used to denote a heading, consider using theh1element; if it is being used for marking up important passages, consider thestrongelement; and if it is being used for highlighting text for reference purposes, consider themarkelement.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:
아래 속성들 역시 구시대의 유물이므로 (비록 이 속성들을 가지고 있는 요소들은 아직도 쓰일지라도) 쓰면 안됩니다!
charsetonaelementscharsetonlinkelementsUse an HTTP Content-Type header on the linked resource instead.
coordsonaelementsshapeonaelementsmethodsonaelementsmethodsonlinkelementsUse the HTTP OPTIONS feature instead.
nameonaelements (except as noted in the previous section)nameonembedelementsnameonimgelementsnameonoptionelementsUse the
idattribute instead.urnonaelementsurnonlinkelementsSpecify the preferred persistent identifier using the
hrefattribute instead.acceptonformelementsUse the
acceptattribute directly on theinputelements instead.nohrefonareaelementsOmitting the
hrefattribute is sufficient; thenohrefattribute is unnecessary. Omit it altogether.profileonheadelementsWhen used for declaring which
metaterms are used in the document, unnecessary; omit it altogether, and register the names.When used for triggering specific user agent behaviors: use a
linkelement instead.versiononhtmlelementsUnnecessary. Omit it altogether.
ismaponinputelementsUnnecessary. Omit it altogether. All
inputelements with atypeattribute in the Image Button state are processed as server-side image maps.usemaponinputelementslowsrconimgelementsUse a progressive JPEG image (given in the
srcattribute), instead of using two separate images.targetonlinkelementsUnnecessary. Omit it altogether.
schemeonmetaelementsUse only one scheme per field, or make the scheme declaration part of the value.
archiveonobjectelementsclassidonobjectelementscodeonobjectelementscodebaseonobjectelementscodetypeonobjectelementsUse the
dataandtypeattributes to invoke plugins. To set parameters with these names in particular, theparamelement can be used.declareonobjectelementsRepeat the
objectelement completely each time the resource is to be reused.standbyonobjectelementsOptimize the linked resource so that it loads quickly or, at least, incrementally.
typeonparamelementsvaluetypeonparamelementsUse the
nameandvalueattributes without declaring value types.languageonscriptelements (except as noted in the previous section)Use the
typeattribute instead.eventonscriptelementsforonscriptelementsUse DOM Events mechanisms to register event listeners. [DOM]
datapagesizeontableelementsUnnecessary. Omit it altogether.
summaryontableelementsUse one of the techniques for describing tables given in the
tablesection instead.axisontdandthelementsUse the
scopeattribute on the relevantth.scopeontdelementsUse
thelements for heading cells.datasrcona,applet,button,div,frame,iframe,img,input,label,legend,marquee,object,option,select,span,table, andtextareaelementsdatafldona,applet,button,div,fieldset,frame,iframe,img,input,label,legend,marquee,object,param,select,span, andtextareaelementsdataformatasonbutton,div,input,label,legend,marquee,object,option,select,span, andtableelementsUse script and a mechanism such as
XMLHttpRequestto populate the page dynamically. [XHR]alinkonbodyelementsbgcoloronbodyelementslinkonbodyelementsmarginbottomonbodyelementsmarginheightonbodyelementsmarginleftonbodyelementsmarginrightonbodyelementsmargintoponbodyelementsmarginwidthonbodyelementstextonbodyelementsvlinkonbodyelementsclearonbrelementsalignoncaptionelementsalignoncolelementscharoncolelementscharoffoncolelementsvalignoncolelementswidthoncolelementsalignondivelementscompactondlelementsalignonembedelementshspaceonembedelementsvspaceonembedelementsalignonhrelementscoloronhrelementsnoshadeonhrelementssizeonhrelementswidthonhrelementsalignonh1—h6elementsalignoniframeelementsallowtransparencyoniframeelementsframeborderoniframeelementshspaceoniframeelementsmarginheightoniframeelementsmarginwidthoniframeelementsscrollingoniframeelementsvspaceoniframeelementsalignoninputelementshspaceoninputelementsvspaceoninputelementsalignonimgelementsborderonimgelements (except as noted in the previous section)hspaceonimgelementsvspaceonimgelementsalignonlegendelementstypeonlielementsalignonobjectelementsborderonobjectelementshspaceonobjectelementsvspaceonobjectelementscompactonolelementsalignonpelementswidthonpreelementsalignontableelementsbgcolorontableelementsbordercolorontableelementscellpaddingontableelementscellspacingontableelementsframeontableelementsrulesontableelementswidthontableelementsalignontbody,thead, andtfootelementscharontbody,thead, andtfootelementscharoffontbody,thead, andtfootelementsvalignontbody,thead, andtfootelementsalignontdandthelementsbgcolorontdandthelementscharontdandthelementscharoffontdandthelementsheightontdandthelementsnowrapontdandthelementsvalignontdandthelementswidthontdandthelementsalignontrelementsbgcolorontrelementscharontrelementscharoffontrelementsvalignontrelementscompactonulelementstypeonulelementsbackgroundonbody,table,thead,tbody,tfoot,tr,td, andthelementsUse CSS instead.
The
borderattribute on thetableelement 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 asbordervalues for this purpose. Other values are considered obsolete. To regulate the thickness of such borders, authors should instead use CSS.음 글자색을 입히다가 너무 많아서 포기했다.
아무튼 쓰지 말라고 하시니 절대 쓰지말자!