Some Elements and Attributes from HTML 4 are not allowed in HTML 5.Find below the list of Obsolete Elements.
- basefont
- big
- center
- font
- strike
- tt
- frame
- frameset
- noframes
- acronym
- applet
- isindex
- dir
Find below the list of obsolete attributes.
- rev and charset attributes on link and a.
- shape and coords attributes on a.
- longdesc attribute on img and iframe.
- target attribute on link.
- nohref attribute on area.
- profile attribute on head.
- version attribute on html.
- name attribute on img (use id instead).
- scheme attribute on meta.
- archive, classid, codebase, codetype, declare and standby attributes on object.
- valuetype and type attributes on param.
- axis and abbr attributes on td and th.
- scope attribute on td.
- summary attribute on table.
- alink, link, text and vlink attributes on body.
- background attribute on body.
- bgcolor attribute on table, tr, td, th and body.
- border attribute on object.
- cellpadding and cellspacing attributes on table.
- char and charoff attributes on col, colgroup, tbody, td, tfoot, th, thead and tr.
- clear attribute on br.
- compact attribute on dl, menu, ol and ul.
- frame attribute on table.
- frameborder attribute on iframe.
- height attribute on td and th.
- hspace and vspace attributes on img and object.
- marginheight and marginwidth attributes on iframe.
- noshade attribute on hr.
- nowrap attribute on td and th.
- rules attribute on table.
- scrolling attribute on iframe.
- size attribute on hr.
- type attribute on li, and ul.
- valign attribute on col, colgroup, tbody, td, tfoot, th, thead and tr.
- width attribute on hr, table, td, th, col, colgroup and pre.
- align attribute on caption, iframe, img, input, object, legend, table, hr, div, h1, h2, h3, h4, h5, h6, p, col, colgroup, tbody, td, tfoot, th, thead and tr.
No comments:
Post a Comment