Hey guys in this chapter of HTML we learn about how to interlink our web pages.
To inter link them Follow our simple steps :-
1. To link any page or anything to our website we use <a> tag.
2. Now by using this tag we can inter link our web pages.
3. see how it works
<html>
<head>
<title> starting of website </title>
</head>
<body>
<h1> first personal page </h1>
<!-- now you have to make table for home, about, contact pages -->
<table width="900" border="1"> <!-- you can choose width and border according to you -->
<!-- now you have to make a row and column for Page Title -->
<tr> <!-- <tr> is for row and <td> is for column -->
<td> <a href="index.html"> Home </td>
<td> <a href="contact us.html"> Contact us </td>
<td> <a href="about us.html"> About us </td> <!-- note that you have to do this in all three of your web pages -->
</tr>
</table>
<table width="900" height="450" border="1"> <!-- you can choose width, height and border according to you -->
<tr>
<td> <p> this is your starting of first web page </p> </td>
</tr>
</table>
<table width="900" border="1"> <!-- you can choose width and border according to you -->
("<!-- comment -->" this sign is for html single line comment )
<tr>
<td> © 2012 </td>
<td> developed by </td> <!-- you can put any name after developed by -->
</tr>
</table>
</body>
</html>
To inter link them Follow our simple steps :-
1. To link any page or anything to our website we use <a> tag.
2. Now by using this tag we can inter link our web pages.
3. see how it works
<html>
<head>
<title> starting of website </title>
</head>
<body>
<h1> first personal page </h1>
<!-- now you have to make table for home, about, contact pages -->
<table width="900" border="1"> <!-- you can choose width and border according to you -->
<!-- now you have to make a row and column for Page Title -->
<tr> <!-- <tr> is for row and <td> is for column -->
<td> <a href="index.html"> Home </td>
<td> <a href="contact us.html"> Contact us </td>
<td> <a href="about us.html"> About us </td> <!-- note that you have to do this in all three of your web pages -->
</tr>
</table>
<table width="900" height="450" border="1"> <!-- you can choose width, height and border according to you -->
<tr>
<td> <p> this is your starting of first web page </p> </td>
</tr>
</table>
<table width="900" border="1"> <!-- you can choose width and border according to you -->
("<!-- comment -->" this sign is for html single line comment )
<tr>
<td> © 2012 </td>
<td> developed by </td> <!-- you can put any name after developed by -->
</tr>
</table>
</body>
</html>
1 comments:
Posting codes with HTML5 is something alright. Hoping that one day I can make this too.
ReplyPost a Comment