페이지에 HTML 문서 유형이 없으므로 쿼크 모드가 트리거됩니다

Published on Updated on

Translated to: English, Español, Português, 中文, Pусский, 日本語

doctype을 지정하면 브라우저가 페이지가 예기치 않은 방식으로 렌더링될 수도 있는 쿼크 모드로 전환되는 것을 방지합니다.

Lighthouse 문서 유형 감사가 실패하는 이유

Lighthouse<!DOCTYPE html> 선언이 없는 페이지에 플래그를 지정합니다.

Lighthouse 감사에서 누락된 문서 유형이 표시됨

Each Best Practices audit is weighted equally in the Lighthouse Best Practices Score. Learn more in The Best Practices score.

문서 유형 선언을 추가하는 방법

HTML 문서의 맨 위에 <!DOCTYPE html> 선언을 추가합니다.

<!DOCTYPE html>
<html lang="en">

자세한 내용은 MDN의 문서 유형 페이지를 참조하세요.

참고 자료

Updated on Improve article

This site uses cookies to deliver and enhance the quality of its services and to analyze traffic. If you agree, cookies are also used to serve advertising and to personalize the content and advertisements that you see. Learn more about our use of cookies.