Guides › HTML / PHP sites › Forms, plugins & updates

HTML: Missing Doctype Causes Quirks Mode Layout

Doctype.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Forms, plugins and checkout

Fix

  1. Add <!DOCTYPE html>.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-21.