Page 108 - Electronic Commerce
P. 108

Technology Infrastructure: The Internet and the World Wide Web


               <html>
                  <head>
                                                                                                    83
                     <title>HTML Tag Examples</title>
                  </head>

                  <body>
                  <h1>This text is set in Heading one tags</h1>
                  <h2>This text is set in Heading two tags</h2>
                  <h3>This text is set in Heading three tags</h3>

                  <p>
                  This text is set within Paragraph tags. It will appear as one paragraph: the
                  text will wrap at the end of each line that is rendered in the Web browser no
                  matter where the typed text ends. The text inside Paragraph tags is rendered
                  without regard to extra spaces typed in the text, such as these:
                  Character formatting can also be applied within Paragraph tags. For
                  example, <strong>the Strong tags will cause this text to appear bolded in
                  most Web browsers</strong> and <em>the emphasis tags will cause this to
                  appear italicized in most Web browsers</em>.
                  </p>
                  <pre>
                  HTML includes tags that instruct the Web browser to render the text
                  Exactly       the      way        it       is        typed,
                  as in this example.
                  </pre>
                  <p>
                  HTML includes tags that instruct the Web browser to place text in bulleted or
                  numbered lists:
                  </p>

                  <ul>
                     <li>Bulleted list item one</li>
                     <li>Bulleted list item two</li>
                     <li>Bulleted list item three</li>
                  </ul>
                  <ol>
                     <li>Numbered list item one</li>
                     <li>Numbered list item two</li>
                     <li>Numbered list item three</li>
                  </ol>

                  <p>
                  The most important tag in HTML is the Anchor Hypertext Reference tag,
                  which is the tag that provides a link to another Web page (or another location
                  in the same Web page). For example, the underlined text
                  <a href=“http://www.w3c.org/”>World Wide Web Consortium</a>   Learning
                  is a link to the not-for-profit organization that develops Web technologies.
                                                                         Cengage
                  </p>
                  </body>
                                                                         2015
               </html>                                                   ©

               FIGURE 2-6   Text marked up with HTML tags

         Copyright 2015 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
       Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
   103   104   105   106   107   108   109   110   111   112   113