Adding links to your web page
Adding links to your web page - Adding hyper links to jump from one page to another is simple. We will add links to the most current version of our web page
Step 1. How to Format Links
Open index.html page in notepad like so - we'll need to add some code... here's a refresher... go to
C:\my_web
Right click on the index.html file and double click it. You can also right mouse click and "open with > notepad". Either way...you can open the file.
Once again between these tags:
<body></body>
Type:
<a href="about-us.html"> about us</a>
In the code below we added paragraph tags around the link so it would create a line break like so:
<p><a href="about-us.html"> about us</a></p>
Go ahead and copy and paste this into index.html (in your C:\my_web folder). Just overwrite the entire file. We want to make sure the link you just created is displayed when you open the index.html file the next time.
Link Formating - HTML example
View this example: See:Links
Step 2. About Us Page - HTML Code
Now, we'll need a page to link to so we'll include the code below for "about-us.html. Copy and paste the code below in a NEW notepad file and name it about-us.html. Save in the C:\my_web folder,
View this example: See:About us
Review the web building process: build web site free