Home > Articles > Web Development > HTML/CSS

  • Print
  • + Share This
This chapter is from the book


  1. When I make links, some of them are blue and some of them are purple. Why? How come most of the links I see on the Internet aren't blue and purple?

  2. A link appears blue to anyone who hasn't recently visited the page to which it points. Once you visit a page, any links to it turn purple. These colors can be (and often are) changed to match any color scheme a Web page author wants, so many links you see on the Web won't be blue and purple. (Hour 10, "Custom Backgrounds and Colors," tells how to change the colors of text and links on your Web pages.)

  3. What happens if I link to a page on the Internet and then the person who owns that page deletes or moves it?

  4. That depends on how that person has set up his server computer. Usually, people see a message saying page not found or something to that effect when they click the link. They can still click the Back button to return to your page.

  5. One of my links works fine on my computer, but when I put the pages on the Internet it doesn't work anymore. What's up?

  6. The most likely culprits are

    Capitalization problems. On Windows computers, linking to a file named Freddy.htm with <a href="freddy.htm"> will work. On most Web servers (which are often UNIX machines), the link must be <a href="freddy.htm"> (or you must change the name of the file to freddy.htm). To make matters worse, some text editors and file transfer programs actually change the capitalization without telling you! The best solution is to stick with all lowercase filenames for Web pages.

    Spaces in filenames. Most Web servers don't allow filenames with spaces. For example, you should never name a Web page, my page.htm. Instead, call it mypage.htm or MyPage.htm.

    Local absolute addresses. If for some reason you link to a file using a local absolute address, such as C:\mywebsite\news.html, the link won't work when you place the file on the Internet. You should never use local absolute addresses; when this occurs it is usually an accident caused from a temporary link created just to test part of a page. So, be careful to remove any test links like this before publishing a page on the Web.

    The next hour explains how to upload files to a Web site and how to rename files once they're online so that you can make sure the spelling and capitalization are perfect.

  • + Share This
  • 🔖 Save To Your Account