HTML Cheat Sheet!

The ultimate HTML cheat sheet for any beginner! Use this a quick reference whilst your getting a grip to coding!

Basic HTML Webpage

<!DOCTYPE html PUBLIC "" "">

HTML Head Tags

<title> </title>
<meta name="" content="" />
<link rel="shortcut icon" type="image/x-icon" href="" />
<link rel="stylesheet" type="text/css" href="" />
<script type="text/javascript"> </script>
<style type="text/css"> </style>
HTML Comment <!-- Comment -->


<h1> </h1>
<h2> </h2>
<h3> </h3>
<h4> </h4>
<h5> </h5>
<h6> </h6>

HTML Image

<img src="" />


<a href=""> </a>

HTML Lists

Unordered List
  <li>What is HTML?</li>
Ordered List
Definition List

HTML Table

<table> <tr>
  <th> </th>
  <th> </th>
</tr> <tr>
  <td> </td>
  <td> </td>
</tr> </table>

HTML Forms

<form action="" method="">
  <input type="text" name="" />
  <input type="password" />
  <input type="hidden" />
  <input type="submit" />
  <input type="reset" value="" />
  <input type="checkbox" />
  <input type="radio" />
  <textarea name=""> </textarea>
  <select name="">
    <option> </option>
  <input type="file" name="" />

Block-Level HTML Elements

<p> </p>
<hr />
<div> </div>
<script> </script>
<noscript> </noscript>
<address> </address>
<blockquote> </blockquote>
<pre> </pre>
<del> </del>
<ins> </ins>

Inline HTML Elements

<br />
<span> </span>
<b> </b>
<strong> </strong>
<i> </i>
<em> </em>
<big> </big>
<small> </small>
<tt> </tt>
<bdo dir="ltr"> </bdo>
<bdo dir="rtl"> </bdo>
<cite> </cite>
<del> </del>
<ins> </ins>
<q> </q>
<sub> </sub>
<sup> </sup>
<abbr title=""> </abbr>
<acronym title=""> </acronym>

Music Code

<embed src="" />

Video Code

<embed src="" />