HTML Notes
Hyper Text Markup Language
- HyperText - text that has links
- Markup - refers to tags
- most text editors can write html, but the code must be saved as a .html
Tags
- surround content and apply meaning to it
- tags that do not wrap around content will close themselves without needing a closing tag
Attributes
- Tags can also haveĀ **attributes**, which are extra bits of information
- appear inside the opening tag
- values sit inside quotation marks
Elements
- everything that is in between (and includes) the tags
- element = opening tag + tag content + closing tag
Basic Tags
- largest heading tag - h1
- smallest heading tag - h6
- paragraph tag - p