Page 156 - Hacker HighShcool eBook
P. 156

LESSON 10 – WEB SECURITY AND PRIVACY









                      </html>

               Figure 1: HTML Code

               We are telling the browser this is an HTML document with the tag <html> and we have a title
               of 'Hello World' with the <title> tag. The <body> tag tells our browser “here is where the
               information you will be displaying goes.” Finally, the <h1> tags tells the browser to display the
               information in “Heading 1” style. The tags that are preceded with a '/' are merely the closing
               tag, this tells the browser to stop displaying the contents described by the opening tag.
               Exercise 1: Cut and paste the code in figure one and paste it into a text file called hello.html.
               Open that file in your browser of choice and you should see something similar to this:


































































                                                                                                       15
   151   152   153   154   155   156   157   158   159   160   161