Page 89 - DCAP408_WEB_PROGRAMMING
P. 89

Unit 3: Text Formatting




                                                                                                Notes

















             Notes  Avoid using <BIG> element; use logical elements instead. In particular, for emphasis
             use <EM> or <STRONG>.

          <SMALL> Element

          The <SMALL> text element defines text that should be displayed in a smaller font than usual.


                 Example:
          <BODY>
          <P>
          This  is  normal  text.
          </P>
          <P>
          <SMALL>
          This  text  will  be  presented  in  a  smaller  font,  if  possible.
          </SMALL>
          </P>
          </BODY>
          …..is rendered similar to…..



















             Notes  There  are no logical elements in current HTML standard; instead, the  <FONT>
             element may provide more alternatives for specifying different font sizes.


                                           LOVELY PROFESSIONAL UNIVERSITY                                   83
   84   85   86   87   88   89   90   91   92   93   94