doctype을 지정하면 브라우저가 쿼크 모드로 전환하여 페이지가 예기치 않은 방식으로 렌더링될 수 있습니다.
Lighthouse doctype 감사 실패
Lighthouse는 <!DOCTYPE html>
선언이 없는 페이지를 신고합니다.
![누락된 doctype을 보여주는 Lighthouse 감사](https://developer.chrome.google.cn/static/docs/lighthouse/best-practices/doctype/image/lighthouse-audit-showing-156167946cd09.png?authuser=9&hl=ko)
doctype 선언을 추가하는 방법
HTML 문서 상단에 <!DOCTYPE html>
선언을 추가합니다.
<!DOCTYPE html>
<html lang="en">
…
자세한 내용은 MDN의 Doctype 페이지를 참고하세요.