reading-notes

Reading Notes

View the Project on GitHub simon-panek/reading-notes

Code 201: Class 05 Images, Color, and Text


Read: HTML Text Chapter 5 pp 94-125

Adding Images

3 Rules of Creating Images

To determine current dimensions of an image on the web right click open in new tab, the dimensions will be displayed in the tab

Read: HTML Text Chapter 5 pp 246-263

Color the color: property allows you to specify text color in an element

CSS Comments developer notes that will not effect the code

Background Color background color is set to transparent by default, most browsers show white, but not always

body {
    background_color: rgb(200,200,200):}

Online Color Picking Tool Color Scheme Designer

Opacity allows developer to set the opacity of an element and its children, values from 0.0 to 1.0

HSL Colors defines a color in three terms: hue, saturation, and lightness

Read: HTML Text Chapter 5 pp 264-299

Typeface Terminology

Default text size in browser is 16px. Can use percentages to scale the text based on 16px = 100%

@font-face allows you to use a font that is not installed on the browsing computer


@font-family {
    font-family: 'ChunkFiveRegular';
    src: url('fonts/chunckfive.eot');
}
h1, h2 {
    font-family: ChunkFiveRegular, Georgia, serif;}
}

Free font sources

Upper and Lowercase


Return to reading-notes Deployed Site

Return to reading-notes Mark Down