-
What is the correct way to place an image called logo.png that links to http://bloc.io in an HTML page ?
<a href='http://bloc.io'><img src='logo.png'></img></a>
- correct<img src='logo.png'><a href='http://bloc.io'></a></img>
<a link='http://www.bloc.io'>Take me to Bloc</a>
<a href='http://bloc.io'><img url='logo.png'></img></a>
-
Which of these is NOT an HTML attribute?
- href
- src
- id
- link - correct
-
Which of these tags is NOT a valid tag for a form?
<input>
<select>
<textbox>
- correct<button>
-
Which of these types is NOT a valid input type for the form input tag:
<input type='text'>
<input type='button'>
<input type='name'>
- correct<input type='radio'>
-
The correct way to embed an image in HTML is:
<img src='logo.png'></img>
- correct<img link='logo.png'></img>
<img source='logo.png'></img>
<img location='logo.png'></img>
-
A correct example of a 'self-closing' html tag is:
<img link='logo.png'></img>
<img src='logo.png'/img>
<img src='logo.png' />
- correct- There are no such things as self closing HTML tags
-
The
alt
attribute on an image tag is used for:- Offer an alternate image in case the first image couldn't be loaded
- There is no such thing as an
alt
attribute - Describing an image in plain text in case the image couldn't load or was being viewed by a screen reader - correct
- Offer a grayscale or monotone version of the image
-
To create a form in HTML, the proper tag is:
<form>
- correct<form_for>
<formset>
<form />
-
To set a font using CSS, the correct property is?
font
font-family
- correctfont-text
Helvetica Arial sans-serif
-
To make every letter in a word CAPITIALIZED, what css property/value pair would we use?
text-transform: uppercase;
- correcttext: uppercase;
font-transform: uppercase;
text-transform: capitalize;
Created
May 20, 2017 14:30
-
-
Save aspencer8111/9ad2d55a29767a75ac1ca67c729ba98c to your computer and use it in GitHub Desktop.
Quiz Frontend Foundation Chapters 4 - 5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment