The declarationAs stated in an earlier post HTML comes in diferent versions, so you have to specify the version you're writing in if not your page shall be rendered in quirk mode( the browser will interpret it anyhow). The following are the declarations for the commonly used versions:WARNING: Doctype declarations must contain no errorsHTML 4.01< ! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">XHTML 1.0< ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">HTML 5< ! DOCTYPE html>NOTE: Be careful when using HTML 5 as it is not supported in old browsers.The < ! DOCTYPE> declaration is thus the first item to be inserted in the document.(Quote) (Report) 1 Like