WHAT YOUR WEBPAGE MUST HAVE TO BE A WEBPAGE

In order for your webpage to be interpreted correctly by your web browser, your webpages must all have the following, in this preferred format:


<html>
<head>
<title>Title of your page, appears in the title bar of web browser</title>
</head>
<body>

This is the body. This is where your images, text, and sounds will go.




</body>
</html>



     Note that, with all further examples I provide, you will have to put them in the BODY of your page, as I have written above. 
     Open Notepad and type everything you see above, as you see it. When you are finished, save your file on the desktop as "index.htm" w/o the quotes. I will explain why on the desktop later because we will be using this page again as we learn more about webpage development.


     Now, open Notepad again, (or save index.htm as index2.htm and erase all the information different from the example below), and type what you see below. Save this as index2.htm.


<html>
<head>
<title>Title</title>
</head>
<body>

Text

<p></p> This is a paragraph return (or a paragraph break). No text is to be placed in the P tag. A paragraph return displays text two spaces from the text above it. You'll learn more about paragraph returns in Lesson 2.

</body>
</html>


     Note: If you wish, you can also name your files another name, or with .html, but I choose index.htm because that's what a web server (a place on the WWW where your webpages are stored so that others can view them) looks for the most.

Share this

Related Posts

Previous
Next Post »