×

Search anything:

Types of HTML file extensions

Internship at OpenGenus

Get this book -> Problems on Array: For Interviews and Competitive Programming

There are 4 different types of HTML file extensions and the extension denote a specific feature enabled in the HTML web page. In this article, we have explored all different types of HTML file extensions in depth.

There are 4 types of HTML files:

  • HTML (.html)
  • SHTML (.shtml)
  • Dynamic HTML (.dhtml)
  • Extensible HTML (.xhtml)

We will go over each type of HTML file extension now.

HTML (.html)

This is the basic version of HTML (HyperText Markup Language).

The file extension of this type is .html.

SHTML (.shtml)

SHTML is an extension of HTML with Server Side Include (SSI) enabled. SSI enables the HTML page to:

  • Execute Server side scripts
  • Load common include files faster and hence, optimize HTML code.

The file extension of this type is .shtml.

Dynamic HTML (.dhtml)

Dynamic HTML is an extension of HTML that supports dynamic features such as animation, dynamic menus and much more.

The file extension of this type is .dhtml.

Extensible HTML (.xhtml)

Extensible HTML is a variant of HTML that is strict in its rules and has a more standarized format.

The file extension of this type is .xhtml.

Following table summarizes the different HTML files:

Different HTML file
HTML fileFile extensionSpecial feature
HTML.htmlBasic
SHTML.shtmlServer Side Include (SSI)
DHTML.dhtmlAnimation, Dynamic menu
XHTML.xhtmlStrict and standardized

With this article at OpenGenus, you must have the complete idea of different HTML files.

Benjamin QoChuk, PhD

Benjamin QoChuk, PhD

Benjamin QoChuk is a Computer Science Researcher, Inventor and Author. His educational background include Bachelors at Vanderbilt University and PhD in Computer Science at Peking University.

Read More

Improved & Reviewed by:


OpenGenus Foundation OpenGenus Foundation
Types of HTML file extensions
Share this