paragraphs have a default styling
a new one will always appear on a different line.
-doctypes are declarations explaining what type of document the page is
-index.html should always be the root file of a website
-ctrl+u for html source code, F12 for dev tools
- br is an example of a self closing tag, it only needs to be used once
- !--this is a comment--
-margin is the spacing between an element
-strong is an inline semantic tag for making text stick out, by default its bold
-em is meant for emphasizing text, by default its italic
this is a link, target=_blank will open it in another tab(only use it if its an external site)
every tag has attributes, it goes in the first of a pair of tags(the start tag)
by default, the browser has adds minor styling to your html; that you can later modify in css
Table | Head | Here |
---|---|---|
table row | each line | new tr tag |
td go in tr | td, table data | tr, table row |
table | before used | to make website layout |
css | used now | to make website layout |