How to Connect Web Pages

Connecting web pages helps to create a more unified, robust and easy to navigate website. You can connect your web pages to other pages within or outside your website. If you've already created a web page, but need to connect it to other pages, no worries. You can use anchor tags to connect your web page to other pages and FTP (file transfer protocol) to connect it to the web, so the world can see your website.

Things You'll Need

  • Text editor, such as Notepad or Wordpad
  • FTP software
  • FTP login information
  • Web hosting account
Show More

Instructions

  1. Connecting to Web Pages on Your Website

    • 1

      Open your web page using your favorite text editor and scroll down to the image or text link you want to connect elsewhere.

    • 2

      Add the following code to connect a text link to another web page within your website:
      <a href="yourpagename.html">the text for the link or page goes here</a>

    • 3

      Add the following code to connect a text link to another web page (in a different folder) within your website in a new window:
      <a href="foldername/yourpagename.html">the text for the link or page goes here</a>
      Use the following code to connect to another web page within your website that is up a level in your file directory:
      <a href="../yourpagename.html">the text for the link or page goes here</a>

    • 4

      Add the following code to open the link you're connecting to in a new window:
      <a href="yourpagename.html" target="_blank">the text for the link or page goes here</a>

    • 5

      Add the following code to connect an image link to another web page within your website:
      <a href="yourpagename.html"><img src="yourimagefile.gif" border="0" alt="your image description" /></a>

    • 6

      Add the following code to open the image link you're connecting to in a new window within your website:
      <a href="yourpagename.html" target="_blank"><img src="yourimagefile.gif" border="0" alt="your image description" /></a>

    Connecting to Web Pages to an External Website

    • 7

      Open your web page using your favorite text editor and scroll down to the image or text link you want to connect elsewhere.

    • 8

      Add the following code to connect a text link to another website:
      <a href="http://www.somewebpage.com/pagename.html"> the text for the link or page goes here </a>
      Note: The full web address for the external website is used here.

    • 9

      Add the following code to connect a text link (in a new window) to another website:
      <a href="http://www.somewebpage.com/pagename.html" target="_blank"> the text for the link or page goes here </a>

    • 10

      Add the following code to connect an image link (in a new window) to another website:
      <a href="http://www.somewebpage.com/pagename.html" target="_blank"><img src="yourimagefile.gif" border="0" alt="your image description" /></a>

    Connecting Web Pages with File Transfer Protocol (FTP)

    • 11

      Download a free FTP software (such as FileZilla) from the Internet. You will need your FTP host address, username and password.

    • 12

      Open your FTP software and enter your host address, username and password and connect to your web server.

    • 13

      Check that you are in the correct folder on your web server, "public_html" or "www." Then browse to your local files and select the pages you want to add to the web.

    • 14

      Drag your local files to the folder on the web server. Depending on the size of your files, your files should copy within a few minutes.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured