0% found this document useful (0 votes)
2 views2 pages

HTML Programming Cheatsheet

This document is an HTML programming cheatsheet that outlines the basic structure and elements of an HTML page. It includes definitions for key tags such as <html>, <head>, <body>, and various formatting elements like headers, paragraphs, links, and images. Additionally, it covers forms, tables, and script integration.

Uploaded by

afsainakib111
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)
2 views2 pages

HTML Programming Cheatsheet

This document is an HTML programming cheatsheet that outlines the basic structure and elements of an HTML page. It includes definitions for key tags such as <html>, <head>, <body>, and various formatting elements like headers, paragraphs, links, and images. Additionally, it covers forms, tables, and script integration.

Uploaded by

afsainakib111
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/ 2

HTML Programming Cheatsheet

<!DOCTYPE html>

Defines the document type and HTML version.

<html>

Root element of an HTML page.

<head>

Container for meta information, title, links, etc.

<title>

Specifies the title of the document.

<body>

Contains the visible page content.

<h1> to <h6>

Header tags. <h1> is the largest, <h6> the smallest.

<p>

Defines a paragraph.

<a href='url'>

Defines a hyperlink.

<img src='url' alt='text'>

Embeds an image.

<ul>, <ol>, <li>

Defines unordered/ordered lists and list items.

<div>

Generic container for content.

<span>
Inline container for text.

<br>

Inserts a line break.

<hr>

Inserts a horizontal rule.

<form>

Defines an HTML form.

<input>

Defines an input field.

<button>

Defines a clickable button.

<table>, <tr>, <td>, <th>

Defines a table, row, cell, and header cell.

<link>

Defines relationship between document and external resource.

<script>

Defines client-side JavaScript.

You might also like