Gmetrix HTML and CSS Quiz 1 Solved 2024
(ID: 31399) - ANSWER-1. text-decoration: none
2. color: steelblue
3.color: orange
(ID: 31400) - ANSWER-class//A style indicator that can be used on any tag.
ID//A style indicator that can be used once per webpage.
element//A style indicator that is used on a specific HTML tag.
pseudo-class//A style indicator used for a specific behavior on a specific HTML tag.
(ID: 31401) - ANSWER-The heading "Coming Soon will have a font size of 16 points.
(NO)
The paragraph will have a color of steelblue. (YES)
The paragraph will have the Georgia font. (NO)
(ID: 31402) - ANSWER-External//The body tag needs to have the Segoe UI font
throughout the entire website.
Inline// An address tag at the bottom of a new items page nees to have a color of dark
magenta. No other address tags need formatting.
Internal//A sales page needs to have a lightgray background, and, as a result its text
needs to be in dark gray.
(ID: 31403) - ANSWER-/* is used to start comments in css
(ID: 31404) - ANSWER-Webpages that include style sheets should be tested on
multiple browsers. (YES)
Setting the body element to have a font of Segoe UI will ensure every device that views
the website will see that font.(NO)
Reusing code from one part of a style sheet to another helps to minimize syntax errors.
(YES)
(ID: 31405) - ANSWER-1. #productList
2. width: 50%
3. max-width:800px
(ID: 31406) - ANSWER-text-decoration// underline
font-weight// bold
font-style// italic
(ID: 31407) - ANSWER-color: maroon
(ID: 31408) - ANSWER-1. .newitem
2. background-color
3. :
4.beige
, 5. ;
(ID: 31409) - ANSWER-1. Background repeat
2. repeat y
(ID: 31410) - ANSWER-1. maroon
2. light green
(ID: 31411) - ANSWER-article > p
(ID: 31412) - ANSWER-img->images/kazoo.jpg/->alt
(ID: 31413) - ANSWER-img// HTML tag used to display a picture
src// defines the location of a picture
alt// used to display text when a picture does not load properly.
(ID: 31414) - ANSWER-svg
(ID: 31415) - ANSWER-img// used to load and display pictures.
canvas// Uses JavaScript to build pixel-based graphics
svg// Used to build graphics that will not become pixelated no matter what their size.
script
(ID: 31416) - ANSWER-1. <video height="480" controls = controls
2. <source src_ blues type video/mp4
3. source src blues.mov type video/quicktime
4. </video>
(ID: 31417) - ANSWER->add the controls "controls" attribute to the audio tag
>add the controls attribute to the audio tag.
(ID: 31418) - ANSWER-1.doctype html
2.head
3.title music store /title
4./head
5.body
6.h1 welcome to the store /h1
7./body
(ID: 31419) - ANSWER-<!-- -->
(ID: 31420) - ANSWER-©
(ID: 31421) - ANSWER-meta name="keywords" content="music, guitar,piano"
(ID: 31422) - ANSWER-link, rel, type,href
(ID: 31399) - ANSWER-1. text-decoration: none
2. color: steelblue
3.color: orange
(ID: 31400) - ANSWER-class//A style indicator that can be used on any tag.
ID//A style indicator that can be used once per webpage.
element//A style indicator that is used on a specific HTML tag.
pseudo-class//A style indicator used for a specific behavior on a specific HTML tag.
(ID: 31401) - ANSWER-The heading "Coming Soon will have a font size of 16 points.
(NO)
The paragraph will have a color of steelblue. (YES)
The paragraph will have the Georgia font. (NO)
(ID: 31402) - ANSWER-External//The body tag needs to have the Segoe UI font
throughout the entire website.
Inline// An address tag at the bottom of a new items page nees to have a color of dark
magenta. No other address tags need formatting.
Internal//A sales page needs to have a lightgray background, and, as a result its text
needs to be in dark gray.
(ID: 31403) - ANSWER-/* is used to start comments in css
(ID: 31404) - ANSWER-Webpages that include style sheets should be tested on
multiple browsers. (YES)
Setting the body element to have a font of Segoe UI will ensure every device that views
the website will see that font.(NO)
Reusing code from one part of a style sheet to another helps to minimize syntax errors.
(YES)
(ID: 31405) - ANSWER-1. #productList
2. width: 50%
3. max-width:800px
(ID: 31406) - ANSWER-text-decoration// underline
font-weight// bold
font-style// italic
(ID: 31407) - ANSWER-color: maroon
(ID: 31408) - ANSWER-1. .newitem
2. background-color
3. :
4.beige
, 5. ;
(ID: 31409) - ANSWER-1. Background repeat
2. repeat y
(ID: 31410) - ANSWER-1. maroon
2. light green
(ID: 31411) - ANSWER-article > p
(ID: 31412) - ANSWER-img->images/kazoo.jpg/->alt
(ID: 31413) - ANSWER-img// HTML tag used to display a picture
src// defines the location of a picture
alt// used to display text when a picture does not load properly.
(ID: 31414) - ANSWER-svg
(ID: 31415) - ANSWER-img// used to load and display pictures.
canvas// Uses JavaScript to build pixel-based graphics
svg// Used to build graphics that will not become pixelated no matter what their size.
script
(ID: 31416) - ANSWER-1. <video height="480" controls = controls
2. <source src_ blues type video/mp4
3. source src blues.mov type video/quicktime
4. </video>
(ID: 31417) - ANSWER->add the controls "controls" attribute to the audio tag
>add the controls attribute to the audio tag.
(ID: 31418) - ANSWER-1.doctype html
2.head
3.title music store /title
4./head
5.body
6.h1 welcome to the store /h1
7./body
(ID: 31419) - ANSWER-<!-- -->
(ID: 31420) - ANSWER-©
(ID: 31421) - ANSWER-meta name="keywords" content="music, guitar,piano"
(ID: 31422) - ANSWER-link, rel, type,href