1. Getting Started
  2. Installation: Preline UI


Page has the HTML doctype

It is necessary to structure definition lists correctly by containing <dt> and <dd> elements within a <dl> to ensure that assistive technologies can convey the relationship between terms and their definitions, enhancing the comprehension and accessibility of the content for users with disabilities.

Specifying a doctype prevents the browser from switching to quirks mode, which can cause your page to render in unexpected ways.

How the Lighthouse doctype audit fails

Sitefig flags pages without the <!DOCTYPE html> declaration:

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

How to add a doctype declaration

Add the <!DOCTYPE html> declaration to the top of your HTML document:

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

See MDN's Doctype page for more information.