Make Your own Web Page - Part 3 We are now going to make links to another document and also a link to a place in the same document. Exercise 4 Make a new page called page2.htm with the following text. <HTML> <HEAD> <TITLE>Making your own Pages -Page 2</TITLE> </HEAD> <BODY> <h1>This is Page 2</h1> </BODY> </HTML> Then modify the index.htm page so that it contains the following: ( tip: use cut and paste ). <HTML> <HEAD> <TITLE>Home page of Making your own Website-for free </TITLE> </HEAD> <BODY> <h1>Welcome to the Home page of Making your own Website-for free .</h1> <p><a name="Introduction">Introduction</a></p> <p>This is the first section of the page. The heading introduction is an anchor and is linked to later in the document.</p> <h4>This is a link to a new document called <a href="page2.htm">making a free web page</a></h4> <p>This is text contained in a paragraph and should be enclosed in paragraph tags. You can insert any text you want here</p> <p> </p> <p>This is a new paragraph.</p> <p>This is a link to the beginning of the page useful for quick navigation through a long page <a href="#Introduction">Introduction</a> .This type of link is used if the page covers more than one screen.</p> <p> </p> </BODY> </HTML> Open the file index.htm with Internet explorer the result should be as shown in Figure 7: This is all we need to cover in this series on HTML. You can find an updated version in Starting Html. In reality you only need a very basic understanding of HTML in order to create Web pages because the editing tool (see web page editors) takes care of the HTML coding. Creating a Web page today is like creating a document using a word processor and most of the word processors today are capable of creating HTML or converting text documents into HTML documents. However, in spite of this it is well worth the effort if you can manually edit an HTML Web page. The best way to learn is to fully understand what we have done here and then get yourself an HTML book for a reference. Web Page Names and Extensions Web Page Titles For our home page we have used the page name index.htm. You may have seen others called index.html or home.htm. So what is the significance of these names and how do you name web pages? This is covered in web page names and the home Page Extensions .htm and .html You will notice that we are using index.htm and not index.html. This is simply convention if your ISP tells you to use index.html then all of your pages should have a .html extension. If you can choose and usually you can then I prefer the .htm extension (its shorter). <-----Make your own web Page- part2 <-----Make your own web Page part1 Useful links for learning more HTML:
Figure 7: index page with a link shown in blue
Sunday, December 23, 2007
Make Your own Web Page - Part 3
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment