HTML and CSS Quiz
1. What does HTML stand for?
Hyper Trainer Marking Language
HyperText Markup Language
HyperText Markdown Language
HighText Machine Language
2. Which HTML tag is used for the largest heading?
<heading>
<h6>
<h1>
<head>
3. Which attribute is used with <a> to specify the destination URL?
src
link
href
path
4. Which CSS property changes text color?
font-color
text-style
color
foreground-color
5. How do you select an element with id="main" in CSS?
.main
#main
*main
main
6. Which CSS property controls the space outside an element border?
padding
spacing
margin
border-space
7. Which HTML tag is used to create an unordered list?
<ol>
<ul>
<li>
<list>
8. Which CSS value makes an element a flex container?
display: grid;
position: flex;
display: flex;
float: flex;
9. Which HTML tag is used to insert an image?
<image>
<img>
<src>
<picture>
10. Which part of CSS syntax is the selector in this rule: p { color: blue; }?
color: blue;
p
{ }
blue
Back to Home