A file with .shtml extension is a webpage that is written in HTML and includes server instructions. It may also contain server-side includes similar to ASP files for faster loading. The server side files can also contain executable code that can make the server to load slower than usual. SHTML files are similar to HTML but they also allow the use of simple server commands. These server commands are performed in a simple computer programming language called Server Side Includes (SSI). SHTML has been largely superseded by other server side programming languages such as PHP includes.
SHTML File Format
SHTML files are written in plain text and use the SSI commands that are executed on server side. These server side commands can be used to even connect to database using the database drivers and fetch users data from tables.
Server side instructions are used in applications such as for page visitor counter or web page calendar. The following example, displays the first four columns of the first three lines of the users database.