Meaning of different website extensions : .htm , .html , .shtml , .asp , .pl , .cgi , .jsp. , php




Do you know why some Web pages end in htm, others end in html, others end in asp and so on? Why all the different extensions?

You can see some of the most common extensions on these URLs:
  • .htm.
  • .html

When the Web started, it ran almost exclusively on UNIX machines and all pages were Html which was the standard file extension. When people started using PCs running DOS or Windows as Web servers, however, the four letters in "html" were problematic. PCs followed an 8.3 naming convention that allowed only three letters in the extension. So the world made room for two standard extensions: html and htm

Htm and Html pages are static. The file is lifted off the server's disk and sent verbatim to the client.
  • .shtml :
Pages tagged with shtml reveal that "Server Side Includes" are being used on the server.. With SSI, a page can contain tags indicating that another file should be inserted in place of the tag in the existing page. So a page is lifted off the server's disk and the server makes all the substitutions indicated. Then it sends the final page to the client. This approach makes it very easy to change things like headers and footers on pages across an entire site.
  • .asp :
Active Server Pages (asp) is a Microsoft technology that allows even more flexibility. A Web page can contain Visual Basic code that the server executes when it lifts a page off the disk. This code can do just about anything -- read databases, run other programs, custom format pages based on the user's ID, etc. You have a great deal of flexibility. On the other hand, your Web pages now contain code that may have bugs in it, so it is possible for a page to "crash." With freedom comes responsibility...
  • .pl :
The pl extension stands for PERL, a scripting language. The page contains nothing but PERL script, and the script builds the page on the fly. The script can also do anything as in asp pages.
  • .cgi:
The Common Gateway Interface (CGI) is a standard protocol for interfacing external application software with an information server.Each time a request is received, the server analyzes what the request asks for, and returns the appropriate output.
  • .jsp
Jsp is one of the latest additions to the Java Enterprise suite of APIs. "Jsp" stands for "Java Server Pages" and is effectively Java's response to ASP. The code embedded in a page is Java rather than Visual Basic.
  • .php
"Php" used to stand for "Personal Home Page," but now it's really just "PHP," which is a scripting language that's mostly used with Linux.




Get Tech Updates via eMail :

7 comments:

  1. You have missed an imported extension, ASPX. ASP.net is the best web developement technology i have used in, i worked in asp,jsp, PHP but i can say the tools for ASP.Net are not comparable with any. I am waiting for visual studio 2010. it should be good

    ReplyDelete
  2. Excellent tutorial on extension. It is really good to see all the extensions and descriptive text about them

    ReplyDelete
  3. I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success.

    ReplyDelete
  4. I am wondering what a .do is. I have seen quite a few lately especially on .gov sites. Novell has at least one too. Usually they seem to be related to search.do.

    ReplyDelete
  5. It's most likely a page generated from a Java Struts web application.

    .do is the extension they use in most of the tutorial and example material.

    The longer explanation is that whatever comes before ".do" is probably a class name. In order to execute the code in that class an action is mapped to a URL. In order to distinguish easily if something is an URL or a java class name you throw ".do" on the end.

    ReplyDelete
  6. I am wondering what a .do is. I have seen quite a few lately especially on .gov sites. Novell has at least one too. Usually they seem to be related to search.do.

    ReplyDelete
  7. I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success.

    ReplyDelete

 

About Tech Guru

TechQuark
TechGuru is a leading technology site, dedicated to software, gadgets, tech news and reviews. The site offers articles, tutorials and how-to guides on all things related to personal technology, desktop applications, productive online tools, social networking sites, windows, office etc.

Founded in 2007, TechGuru features audience who have the passion for Software and Technology and seeks to promote awareness about the internet and computing.

Get News on the Go

Mobile TechQuarkTech Guru is a mobile-friendly website. Simply bookmark m.techquark.com in your mobile browser for free access anytime, anywhere.

Contact Us / Send a Tip

Use Contact Form, if you have Comments, Problems, Suggestions, Praise, Complains about the site. Your suggestions and articles are valuable to us.

Copyright © 2007- Tech Guru - All rights reserved. No part of this blog be republished or written without prior permission of the author


Privacy Policy | Disclaimer | Contact | Advertise With Us


Designed and Maintained by Shubham Gupta