網站管理員可籍著為網站定義一個自訂標頭來為他們的網站預設一個特定的文件兼容性模式。這個特定的方法取決于你的網站服務器。舉例來說,下列的web.config文件使Microsoft Internet Information Services (IIS)能定義一個自訂標頭以自動使用IE7 mode來編譯所有網頁。
<!-- This header mimics Internet Explorer 7 and uses <!DOCTYPE> to determine how to display the Web page --> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> 注意: 前面的范例顯示單獨的內容值。實際上IE只會執行網頁中第一個X-UA-Compatible標頭。