Webopedia on Google+Webopedia on TwitterWebopedia on FacebookTech Bytes Blog
Main » TERM » S »

server-side include

Abbreviated SSI. A type of HTML comment that directs the Web server to dynamically generate data for the Web page whenever it is requested. The basic format for SSIs are:

<!--#command tag="value"…>

Where #command can be any of various commands supported by the Web server. The simplest command is #include, which inserts the contents of another file. This is especially useful for ensuring that boilerplate components, such as headers and footers, are the same on all pages throughout a Web site. To change a boilerplate element, you need only modify the include file, instead of updating every individual Web page.

SSIs can also be used to execute programs and insert the results. They therefore represent a powerful tool for Web developers.

There is no official standard for SSIs, so every Web server is free to support different SSIs in different manners. However, many SSI commands, such as #include and #exec, have become de facto standards.

Web pages that contain SSIs often end with a .shtml extension, though this is not a requirement. The filename extension enables the Web server to differentiate those pages that need to be processed before they are sent to the browser.







TECH RESOURCES FROM OUR PARTNERS
DID YOU KNOW?
The Five Generations of Computers

Learn about each of the five generations of computers and major technology developments that have led to the current devices that we use today. Read More »

Small Business Marketing's Greatest Hits

The following compilation of small business marketing tips highlights some of the expert advice published over at Small Business Computing. Read More »

13 Best Free Android Apps

From secure messaging to document editing, our top free must-have apps have been rated, reviewed and named the best free Android apps of 2015. Read More »

QUICK REFERENCE
5 Best Cloud Storage Services

With cost and security in mind, we look at five cloud storage options that will suit the needs of most home and SMB owners. Read More »

Windows 10 Tips for Desktop PC

Five basic tips to help you customize Windows 10 on your desktop PC. Read More »

29 Free Android Apps for Cash-Strapped Students

From wacky alarm clocks to lecture hall tools and after class entertainment, these Android apps are a good fit for a student's life and budget. Read More »