Home arrow HTML arrow Page 2 - Using HTML-Kit to Debug Server-Side Scripts
HTML

Using HTML-Kit to Debug Server-Side Scripts


Browsers are notorious for rendering HTML pages perfectly even when a page contains errors. For instance, a button may display properly but not function because of a missing closing tag. Hence the need for tools to check syntax. This is relatively straightforward for static HTML pages but what about dynamic pages? When server-side technologies such as PHP or ASP are used to create HTML pages dynamically, checking and debugging the result can be difficult. This article will show how this can be done using the free text editor, HTML-Kit. This will involve configuring some of the features of this editor. No knowledge of any specific technologies is required but a general knowledge of HTML and of the function of browsers and web servers is assumed.

Author Info:
By: Peter Lavin
Rating: 4 stars4 stars4 stars4 stars4 stars / 13
June 07, 2004
TABLE OF CONTENTS:
  1. · Using HTML-Kit to Debug Server-Side Scripts
  2. · Getting Started
  3. · Basics
  4. · View Source and Validate

print this article
SEARCH DEVARTICLES

Using HTML-Kit to Debug Server-Side Scripts - Getting Started
(Page 2 of 4 )

Since your files will be processed by a web server, make sure that you are working in a directory located in the home directory of your server. If you are using IIS or PWS, then this is most likely C:Inetpubwwwroot. As long as your directory is under the root directory of your server, you do not need to turn on web sharing. However, it is not a bad idea to do so. This can be done through IIS or PWS server administration or simply by right clicking the appropriate directory and choosing the menu option "Properties" and then the "Web Sharing" tab. If there is no "Web Sharing" tab, then make sure that your server is installed and is running.

Configuring HTML-Kit

In order to use this HTML editor to debug server-side scripts, we need to edit the user preferences. This can be rather intimidating as there are over twenty tabs in the configuration window and many options on each page. Have a look. Press the "Edit" menu option and then, at the very bottom, choose "Preferences". You should find a screen similar to the one below.

HTML Kit

In this article we will only be dealing with a very limited number of settings. These will be, first, some basic settings to increase usability, second, telling HTML-Kit where your server is located and finally, making file associations.

Next: Basics >>

blog comments powered by Disqus
HTML ARTICLES

- Does HTML5 Need a Main Element?
- Revisiting the HTML5 vs. Native Debate
- HTML5: Not for Phone Apps?
- HTML5 or Native?
- Job Hunting? Freelancer.com Lists This Quart...
- HTML5 in the News
- Report: HTML5 Mobile Performance Lags
- The Top HTML5 Audio Players
- Top HTML5 Video Tutorials
- HTML5: Reasons to Learn and Use It
- More of the Top Tutorials for HTML5 Forms
- MobileAppWizard Releases HTML5 App Builder
- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials