These Are My Notes for January 25th, 2023
- Typically we want to keep image sizes small on websites in order to keep loading times short.
- Block vs Inline - Block elements add line breaks when you put them in the markup, in line elements are
inserted in line with the text
- Right mouse click and format document will fix formatting
- DOM = doument object model - gives a browser a path to locating page elements
- yay i figured out how to do an unordered list
- Check out odin project, udemy, free code camp for resources outside this class
- hex codes are units of color that we can use in CSS (and many other applications)
A Note on Markup Languages
- Markup languages allow us to denote structure (and to an end, content) on a page. HTML is a subset of
XML and basically tells the browser how to
render the content contained within it
- Content can be thought of anything that is not HTML code
- Head section contains elements that setup environment and control the page, typically meta and title elements
- An empty element is an element that contains nothing in the middle
- a one sided element is uniary, like an hr element that requires no closing tag
- Whitespace in code is for readability/formatting not really for rendering on the page