This page contains some of the information on HTML (see http://www.w3schools.com/tags/default.asp for all information on HTML):
| Tag | Attributes | Description | Contains |
|---|---|---|---|
| html | - | Contains a web page | head, body |
| head | - | Contains the non-visible information about a page, including links to stylesheet files and Javascript files. | title, style, base, link, meta, script, noscript |
| body | - | Contains the visible content of a page. | (basically any non-head tag) |
| title | - | Defines the title of the page/document | - |
| h1, h2, h3, h4, h5, h6 | - | Heading level 1 to 6 | - |
| p | - | Paragraph | (not all) |
| img | src, title, alt | Image | (has no content) |
| a | href, name, target | Hyperlink ('a' for anchor) | (not all) |
| ul | - | Unordered List | li (only) |
| ol | - | Ordered List | li (only) |
| li | value (if you want to override the automatic) | List Item | (not all) |
| table | - | Table | tr, thead, tbody, tfoot |
| tr | - | Table Row | th, td |
| th | colspan, rowspan | Table Heading (column heading) | (not all) |
| td | colspan, rowspan | Table Data (normal cell) | (not all) |
| blockquote | cite | Block quote | (not all) |
| form | action, autocomplete, enctype, method, name, novalidate, target | Form for collecting data and sending to a server | input, textarea, button, select, option, optgroup, fieldset, label + (not all) |
| input |
name, value type = button, checkbox, color, date , datetime , datetime-local , email , file, hidden, image, month, number, password, radio, range , reset, search, submit, tel, text, time, url, week accept, alt, autocomplete, autofocus, checked, disabled, form, formaction, ... |
Input element | (no content) |
| textarea | Text input area (as opposed to a single line) | (not all) | |
| select | name, multiple, disabled, size | Pop-up menu or Selection List | option, optgroup |
| option | value, label, selected, disabled | Selection option | (not all) |
| section | - | Defines a section | header, main, section, footer + (most) |
| header | - | Section Header | (most) |
| footer | - | Section footer | (most) |
| nav | Navigation block of links | (most) | |
| div | Division | (most) | |
| span | Span of text | (not all) | |
| br | - | Break | (no content) |