DOCTYPE
HTML5 doctype <!DOCTYPE html> puts browsers in standards mode. Omitting triggers quirks mode with legacy, inconsistent rendering. Always include as first line.
<!DOCTYPE html>
<html lang="en">
<head>...</head>
<body>...</body>
</html>
Frontend & Mobile · 9 sections
Semantic HTML, the box model, flexbox, grid, and responsive design.
HTML5 doctype <!DOCTYPE html> puts browsers in standards mode. Omitting triggers quirks mode with legacy, inconsistent rendering. Always include as first line.
<!DOCTYPE html>
<html lang="en">
<head>...</head>
<body>...</body>
</html>
header, nav, main, article, section, aside, footer describe meaning. Improves accessibility, SEO, and readability. Avoid div soup.
<main>
<article>
<header><h1>Title</h1></header>
<p>...</p>
</article>
</main>
html with lang attribute, head (metadata), body (content). One main per page. lang helps screen readers and translation. Set charset and viewport.
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
112 more cards in this sheet
Unlock the Frontend & Mobile bundle — ₹399
One-time payment. Unlocks this sheet and 8 other sheets in the bundle, plus a typeset PDF of each.
Unlock the bundle See all bundles
Or get all 76 sheets for ₹999 — one payment, every future sheet included.
What's new and the interview questions people are actually getting asked. No spam.