Notes
Notes
p paragraph
ol ordered list numbered
ul unordered list bulleted
li list
div division; a section of the page; colors and shit;organize layout a little more
style literally just a container yeah thats pretty much it
section = section
figure self-contained content; image caption
fig caption add caption to image in <figure>
<!DOCTYPE html> ....All pages should begin with this; declaration; ensures the
browser tries to meet industry wide specs; tells browsers that the document is an
html5 doc.
html ....root element of .html page; (lang) specify the language
head ....contain metadata about the doc such as the title, links to stylesheets,
and scripts; Metadeta is info about the page that isnt shown directly.
meta ....set browser behaviour; void element
(charset ="utf-8")
title ....determines what browsers show in the title bar or tab
body ....all page content elements should go inside the body element
main ....main section
section ....
fieldset ..../fieldset
figure ..../figure
/section
/main
footer/footer
/body
/html
((.html))
<article> contain multiple elements that have related information
<hr> border
<hr></hr> border
((.CSS))
element {
property: value;
}
style.css (file); put all the seperate styles in a folder and link to it
....<style></style> (.html)
1st = rewrite the styles you created from .html to .css, 2nd remove
<style>....</style>, 3rd link them: <link rel="stylesheet" href="styles.css">
Look similar on mobile and desktop <meta name="viewport" content="width=device-
width, initial-scale=1.0" />
<div> design layout purposes; TO NOT TAKE ENTIRE WIDTH OF PAGE: ((.CSS))=
#id {
width: ###px/%
}
.html = id="this"
.css=
#this(id selector) {
value: 250px;
}
/* comment */
element {
property: value, value (<<<fallback)
}
a {
color: black;
}((link color remain same))
a:visited {<<<<<<<<((pseudo-selector))
propertyName: propertyValue;
}((Change properties of a link when the link has been visited))
propertyName = color
propertyValue= gray
a:hover {
propertyName: propertyValue;
}
a:active ...
///Styles
///Formatting
///Quotations
///Colors
///Links
///Images
///Tables
///Lists
///
///
///
///
///