Basic HTML Cheat Sheet
1. Document Outline
- < ! DOCTYPE > Version of ( X ) HTML
- < html > HTML Document
- < head > Page Information
- < body > Page Contents
- <base /> Base URL
- <meta /> Meta data
- <title> Title Relevant
- <link /> resource
- <style> Style resource
- <script> Script resource
3. Links
- <a href=""> Page link
- <a href="mailto:"> Email link
- <a name="name"> Anchor
- <a href="#name"> Link to anchor
4. Document Structure
- <h1>-<h6> Heading
- <div> Page section
- <span> Inline section
- <p> Paragraph
- <br /> Line break
- <hr /> Horizontal rule
5. Forms
- <form> Form
- <fieldset> Collection of fields
- <legend> From legend
- <label>Input label
- <input /> From input
- <select> Drop-down box
- <optgroup>Group of options
- <option> Drop down options
- <textarea>Large text input
- <button> Button
6. Tables
- <table> Table
- <caption> Caption
- <thread> Thread
- <tbody> Table body
- <tfoot> Table foot
- <colgroup>Column group
- <col /> Column
- <tr> Table row
- <th> Header cell
- <td> Table cell
7. Lists
- <ol> Ordered list
- <ul> Unordered list
- <li> List item
- <dl> Definition List
- <dt> Definition term
- <dd> Term description
***