News:

MyKidsDiary.in :: Capture your kids magical moment and create your Online Private Diary for your kids

Main Menu

Types of Web Files - Common File Types and File Extensions

Started by Kalyan, Sep 26, 2008, 06:07 PM

Previous topic - Next topic

Kalyan

Types of Web Files - Common File Types and File Extensions

When learning what it takes to build a Web page, you'll come across many different types of files. Even though most Web pages are run on Unix Web servers which, like Macs, don't require file extensions, filename extensions are the most common way to differentiate between files. Once you see a file name and extension, you know what type of file that is, how the Web server uses it, and how you can access it.
The Common File Types

The most common files on Web servers are:

    * Web pages
    * Images
    * Scripts

Web Pages

There are two extensions that are standard for Web pages:

    .html
    .htm

There is really no difference between these two extensions.

.html

.html was the original extension for HTML pages on Unix Web hosting machines. It references any file that is, well, HTML (or XHTML).

.htm

.htm was created by Windows/DOS because of it's requirement for 3 character extensions. It also references HTML (and XHTML) files, and can be used on any Web server, regardless of OS.

index.htm and index.html

This is the default page in a directory on most Web servers. If you want someone to go to your Web page, but you don't want them to have to type a file name, you should name the first page index.html.

For example

http://www.itacumens.com/index.htm will go to the same place as

http://itacumens.com/. Some Web servers call this page "default.htm"

and you can change the filename if you have access to the server configuration.

alenfort

Some Types of Web File Extensions

.aam    
.asp
.avi
.bak
.bat
.bmp    
.cab
.cfg     
.cgi     
.chk         
.css
.csv

denniscrrom

There are many web files available in HTML. The most common files on Web servers are: Web pages, Images, Scripts. Here are few Files with extensions as under :

- .map for Image Map   
- .mapx for Mapjects Client Webparts File
- .master for ASP.NET Master Page
- .mht for MHTML Web Archive   
- .mhtml for MIME HTML File