Welcome to my HTML Cheatsheet project! This file, named cheatsheet.html
, serves as a quick reference guide for essential HTML elements and syntax. Whether you're a beginner or looking for a handy reference, this cheatsheet covers various aspects of HTML, from page structure to text formatting, comments, IDs, classes, tables, links, images, and more.
- File:
cheatsheet.html
- Description: A comprehensive HTML cheatsheet showcasing the usage of different HTML elements and their attributes.
- Language: Pure HTML
-
HTML Page Structure
- Demonstrates the basic structure of an HTML page, including the DOCTYPE declaration, HTML tags, head, body, and links to external CSS and JavaScript files.
-
HTML Heading Tags
- Illustrates the use of heading tags
<h1>
to<h6>
.
- Illustrates the use of heading tags
-
Text Formatting Tags
- Covers text formatting tags such as
<p>
,<strong>
,<em>
,<s>
,<sup>
, and<sub>
.
- Covers text formatting tags such as
-
Comments
- Introduces HTML comments using
<!-- ... -->
.
- Introduces HTML comments using
-
ID & Classes
- Explains the use of IDs and classes in HTML elements.
-
HTML Tables
- Demonstrates the creation of HTML tables with sample content.
-
<hr>
&<br>
- Shows how to use horizontal rules (
<hr>
) and line breaks (<br>
).
- Shows how to use horizontal rules (
-
Links
- Provides examples of creating hyperlinks with the
<a>
tag.
- Provides examples of creating hyperlinks with the
-
Images
- Illustrates how to embed images using the
<img>
tag.
- Illustrates how to embed images using the
-
<pre>
Tag- Introduces the
<pre>
tag for preserving text formatting, ideal for displaying code snippets.
- Introduces the
-
Inline & Block Elements
- Highlights the difference between inline and block elements.
-
HTML Lists
- Covers ordered lists (
<ol>
), unordered lists (<ul>
), and definition lists (<dl>
).
- Covers ordered lists (
-
HTML Forms
- Presents a simple HTML form with text inputs, password inputs, radio buttons, and a submit button.
-
HTML Media
- Embeds video and audio elements with the
<video>
and<audio>
tags.
- Embeds video and audio elements with the
- Clone the repository:
git clone https://github.com/RahulP-Here/my-web-dev-evolution.git
- Open
cheatsheet.html
in a web browser to explore the HTML cheatsheet.
Feel free to use this cheatsheet as a quick reference or as a learning resource for understanding HTML elements and their usage.
© OnlyHTML2024