Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
3 views1 page

Basic HTML Cheat Sheet

Uploaded by

mukeshpulgamkar3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Basic HTML Cheat Sheet

Uploaded by

mukeshpulgamkar3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Basic HTML Cheat Sheet

Created on Aug 14, 2025

A pocket reference for writing clean, modern HTML in seconds.


Includes skeleton markup, common tags, attributes, and quick patterns.
Perfect for beginners and speedy refreshers alike.
HTML Skeleton
<!doctype html>
<html lang="en">
content="width=device-width, initial-scale=1">
<head>
<title>Page
<!-- content Title</title>
here -->
<meta
</head>
</body> charset="utf-8">
<meta name="viewport"
Most-Used
<body>
</html> Tags
Headings: <h1>-<h6> · Paragraph: <p> · Link: <a href="..."> · Image: <img src="..." a
· List: <ul>/<ol>/<li> · Button: <button> · Div/Span: <div>/<span>
Forms (Quick)
<form action="/submit" method="post">
<label>Email <input type="email" name="email"
required></label>
<button type="submit">Send</button>
Tables (Quick)
</form>
<table>
<thead><tr><th>Item</th><th>Qty</th></tr></thead>
<tbody><tr><td>Pen</td><td>2</td></tr></tbody>
</table>
Semantic HTML
<header>, <nav>, <main>, <section>, <article>, <aside>, <footer> improve accessibi
Attributes You ll Use Daily
id, class, href, src, alt, title, type, value, placeholder, required, disabled, aria-*
Fav Snippets
<a href="#top">Jump to top</a> · <img loading="lazy"> · <meta name="description" c
· <link rel="preconnect" href="https://...">

You might also like