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.
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?
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.
The background color is the color of the background of the page.
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?
font-size
sets the size of the font, and is inherited from a given element’s parent element, which starts with the root element <html>, in which the default is 16px.
font-weight
sets how bold the text is. Some options are normal, bold, lighter, bolder, and numaric boldness values 100-900.
font-style
is used to turn italic text on or off. Options are normal, italic, or oblique.
5. Describe two ways you could add spacing around the characters displayed in an h1
element.
letter-spacing
- will allow for variety in spacing between the letters in the text of the h1
.
word-spacing
- will allow for variety in spacing between the words in the text of the h1
.
Nothing at the moment!