
HTML Basics Quiz
Authored by Andrew Powell
Information Technology (IT)
9th - 12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line correctly starts an HTML document?
A. <DOCTYPE html>
B. <!DOCTYP html>
C. <!DOCTYPE html>
D. <HTMLDOCTYPE>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to centre text using inline CSS?
A. <h1 text-align="center">Heading</h1>
B. <h1 >Heading</h1>
C. <h1 align="center">Heading</h1>
D. <h1 >Heading</h1>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with this line of code?
<title>New Zealand<title>
A. The title tag is not closed properly
B. There should be no capital letters
C. Title must be inside the body tag
D. It needs quotation marks
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which image tag is written correctly?
A. <img src=newzealand.jpg width=700>
B. <img src="newzealand.jpg" width="700px">
C. <image source="newzealand.jpg" width="700px">
D. <img link="newzealand.jpg" width=700>
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which link is written correctly?
A. <a link="australia.html">Click here</a>
B. <a href="australia.html">Click here</a>
C. <link="australia.html">Click here</link>
D. <a="australia.html">Click here</a>
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to close a paragraph tag?
A. <p/>
B. </p>
C. <p end>
D. <para>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is the DOCTYPE declaration important?
A. It adds colour to the webpage
B. It tells the browser what version of HTML to expect
C. It contains the website’s title
D. It defines the main content area
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?