| Warning: include(http://www.studio6000.com/tutorside.htm) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/studio60/public_html/html/lesson4.php on line 1 Warning: include() [function.include]: Failed opening 'http://www.studio6000.com/tutorside.htm' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/studio60/public_html/html/lesson4.php on line 1 | Page StructureAll Webpages are made up of a head and a body.
First we need to let the browser know we will be using HTML by using the HTML tags. Open Notepad and start with this.
All pages have body section as well.
The following code would be an example of overlapping tags. The following code would be an example of nested tags: Ok. Now let's give this page a title. To do this, type My First Page in between the opening title (<title>) and the closing title (</title>) tags. Now lets put some actual text into your page. To do this, type Hello World! in between the opening body (<body>) and the closing body (</body>)tags. Your code should now look like this: <html> Save the file as mypage.html. Alternatively, you can name the file mypage.htm. Both names are equally acceptable. If you are not sure how to save a file the please go to our Saving Pages Lesson. Open the file in your browser. To do this, go to the folder where you have just saved the mypage.html and double click it. The icon should look something like this: Your page should look like this: Congratulations! You did it! You've just built your very first webpage. |