Doctype

Use when applies to all HTML documents. Always check the very first line of the raw HTML source (view-source: or DevTools > Network > Response). In SSR frameworks, check the root HTML template (e.g., _document.tsx in Next.js, index.html in Vite/Vue, application.html.erb in Rails). The doctype is not a tag — it is a declaration and does not need a closing tag.

thedaviddias 9e5c5f9 2 files · 6.2 KB Updated

File contents

thedaviddias/front-end-checklist/tree/main/skills/doctype commit 9e5c5f955f

Frequently asked questions

npx skillmds@latest add thedaviddias/doctype