Basic HTML Syntax Flashcards
1
Q
How do you use the image element in HTML5?
- <img></img>
- <image>
</image> - <img></img></img>
- <pic src=” alt>
A
<img></img>
2
Q
How do you refer to a ‘higher’ directory than the one your html file is currently in?
Then, how do you refer to a section/fragement at the same time?
<a></a>
<a></a>
A
<a></a>
3
Q
What would come before code like this?
srcset=”/images/boogle-400px.png #x, /images/boogle-600px.png”
A
src=”/images/boogle-200px.png”
4
Q
What elements need a <source></source> child?
picture
video
img
A
picture
video
5
Q
How can you expand a column?
colmerge=”2”
colspan=”2”
colexp=”2”
A
colspan=”2”
the same can be done with rows
6
Q
A