https://tokar.ua/read/6842/chto-takoe-doctype-y-kakym-on-b-vaet/
Уроки по вёрстке сайтов: что такое DOCTYPE?