# Useful HTML code This is a quick reference for HTML. Note: everything can be nested under endless ```
``` - It gets to be a pain, but divides out the idea Meta tags are *huge* for [SEO](marketing-seo.md) - They define what the web search indexer is looking for. - In the age of [machine learning](computers-ai-ml.md), this is even more the case with contextual synonyms. ## Comments ## Headings and basic paragraph formats ```html

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

paragraph/body text

  1. bullet point of ordered list
  2. another bullet point
  3. the list can have the handle "start=(number)" as well
``` ## Expandable details/summary pane ```html
``` ## Tables ```html
Heading label 1 Heading label 2
table row 1, table data 1 table row 1, table data 2
table row 2, table data 1 table row 2, table data 2
``` ## Input forms The data is passed through to another site (the "action" handle alongside the "form" handle), which goes fully beyond the scope of HTML unless you're a hacker. ```html
``` NOTE: the "type" is optional and defaults to "text": - plaintext (type=text) - type=email (validates) - type=url (validates) - type=number (validates) - type=tel (validates phone number) - type=password (obscures text visually) - multiple-choice selection - type=checkbox - type=radio - type=range (slider) - chronological selection - type=date (for hardkey/dropdown) - type=time (for hardkey) - type=datetime-local (for hardkey/dropdown with time as well) - file selection (type=file) - type=image (doesn't always work) - redundant button redundancies (since there is a "button" HTML handle) - type=button - type=submit (is simply a button that submits query) - other weird ones - type=hidden - type=color - type=search (submits a search query) - type=reset (probably supposed to reset the form) - type=week (doesn't work?) - type=month (doesn't work?) Input handles: - readonly (makes the information read-only) - disabled (similar to readonly but can't be focused by user selection) - required (must be entered to submit query) - value=(default value you want to place in it)