Page 27 - modular_v2.0_HTML&_CSS_Fb
P. 27

HTML5 DEPRECATED ATTRIBUTES


                     Attribute      Description                     Alternative               Impacted tags
                                                                  Attribute/CSS
                                                                     Property

                  HSPACE            Specifies the horizontal  padding attribute        <IMG>,<OBJECT>
                                    space around the
                                    element.

                  ALIGN             Used to specify the        text-align,   vertical- <CAPTION>, <IFRAME>,
                                    positioning of an          align                   <IMG>, <INPUT/>,
                                    element.                                           <OBJECT>, <LEGEND>,
                                                                                       <TABLE>, <HR/>,

                                                                                       <DIV>, <H1>, <H2>,
                                                                                       <H3>, <H4>, <H5>,
                                                                                       <H6>, <P>, <COL>,
                                                                                       <COLGROUP>, <TBODY>,
                                                                                       <TD>, <TFOOT>, <TH>,
                                                                                       <THEAD>, and <TR>.


                  ALINK             Specifies the colour of     :active pseudo-class   <BODY>
                                    links that have been
                                    clicked by the user.

                  BACKGROUND  Specifies background             background-image        <BODY>
                                    image.

                  BGCOLOR           Specifies background       background-color        <TABLE>, <TR>, <TD>,
                                    color.                                             <TH>, and <BODY>.

                  BORDER            Used to specify border  border-width               <TABLE> and <OBJECT>
                                    width of an element.

                  VLINK             Specifies the colour of    :visited pseudo-class   <BODY>
                                    visited links.

                  TYPE              Specifies the type of list  list-style-type        <LI>, <OL>, and <UL>
                                    in li tag.

                  VSPACE            Specifies the amount of  padding-top and           <IMG> and <OBJECT>
                                    whitespace or padding  padding-bottom
                                    that should appear
                                    above or below an

                                    element.



                                                                                                                25
                                                                                         HTML—An Introduction
   22   23   24   25   26   27   28   29   30   31   32