Code 102: Class 5 Reading Notes
HTML & CSS - Jon Duckett
Chapter 5: Images
Images should be stored in their own folder for best organization. If several images and topics, then several folders
<>
<img> is an empty elment tag with no closing.
It needs:
- src - tells the browser where to find image
- alt gives text description of image if you can’t see it
- title - The name that will show when hover over image
There is a lot of info on how to sort and organize images, but the info is a bit outdated from 2013 and anowledges that CSS is the new way. Other than that it still was informative.
<figure> - it contains images and their captions. You can have more than one image inside the figure, but tehy ned to have th same caption.
<figcation> adds caption to image. Oldber browswers ignore.
Chapter 11: Color
Straightforward chapter listing all the different ways to use color, and there are lots
-
There are multiple ways to express color is CSS -
-
Important to design with enough contrast between text and background color
Chapter 12: Text
-
Limited amount of foonts that can be assumed most have installed (still very true to this day)
-
Licences are needed for some typfaces
-
Spacing can be controlled between text, lettes, and words. CSS also does the alighnment for text.