Broken links are one of the major banes of Web sites. When you move pages or redesign your site, there is always a chance that you will break a link to another page. The various ways a link can be broken include the following:
Thankfully, broken links are a common problem and you have several tools at your disposal to help avoid them.
The W3C Link Checker
The World Wide Web Consortium maintains an online link checker.
To use the W3C Link Checker on your site, follow these steps:
The online W3C Link Checker in action.
Checkers built into development tools
Many Web development tools have integrated link checkers that you can use while you develop your site. For example, Macromedia Dreamweaver includes a comprehensive checking feature.Check the documentation on your favorite tool to see if it has a comparable feature.
There are several tools you can download and run locally to check links on your site. Visit your favorite software repository site to search for a suitable tool for your use.
Macromedia Dreamweaver has a link checker feature built in so you can check your links as you develop your site.
Watching your logs
Your server’s log files can also alert you to broken links. For example, the Status Code Report lists several Document not found (404) errors. These errors can be caused by broken links on your site or sites that refer to your site. By enabling more reporting details, you can usually find out what referring document had the broken link.
HTML Related Interview Questions
|XML Interview Questions||HTML 4 Interview Questions|
|HTML Interview Questions||HTML 5 Interview Questions|
|HTML DOM Interview Questions||Java Interview Questions|
|CSS Interview Questions||Java Abstraction Interview Questions|
|Dynamic HTML Interview Questions||XHTML Interview Questions|
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.