Page 86 - DCAP408_WEB_PROGRAMMING
P. 86

Web Programming




                    Notes




















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

                                   <I> Element

                                   The <I> element defines text that should be shown in italics. It can be nested with other logical
                                   or physical elements but some browsers will respect only the innermost tag.


                                          Example:
                                   <BODY>
                                   Usually  the  dog  is  said  to  form  the  species
                                   <I>Canis  familiaris</I>,
                                   but  genetically  dogs  belong  to  the  same  species  as  the  wolf,
                                   <I>Canis  lupus</I>.
                                   </BODY>
                                   …..is rendered similar to…..


















                                     Notes  However, don’t overuse the <I> element. In particular, for emphasis use <EM> or
                                     <STRONG>, and for variables (placeholders) use <VAR>.







          80                                LOVELY PROFESSIONAL UNIVERSITY
   81   82   83   84   85   86   87   88   89   90   91