reading-notes

201 class 5 notes

Why this matters: This information matters because it includes important information about accessibility in web development, and includes more details about media features of HTML and CSS features.


HTML Media

Source: https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML

Source:https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types

Source: https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types#choosing_an_image_format

1. What is a real world use case for the alt attribute being used in a website?

For accessibility, for example when the user is using a screen reader.

2. How can you improve accessibility of images in an HTML document?

3. Provide an example of when the figure element would be useful in an HTML document.

4. Describe the difference between a gif image and an svg image, pretend you are explaining to an elder in your community.

5. What image type would you use to display a screenshot on your website and why?


Learn CSS

Source: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Colors/Applying_color

Source: https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Fundamentals

1. Describe the difference between foreground and background colors of an HTML element, pretend you are talking to someone with no technical knowledge.

2 Your friend asks you to give his colorless blog website a touch up. How would you use color to give his blog some character?

3. What should you consider when choosing fonts for an HTML document?

4. What do font-size, font-weight, and font-style do to HTML text elements?

5. Describe two ways you could add spacing around the characters displayed in an h1 element.


Things I Want To Know More About:

Nothing at the moment!