0% found this document useful (0 votes)
41 views

My HTML Quiz

The document contains 10 multiple choice questions about HTML basics. It tests the learner's knowledge of common HTML tags, attributes, and concepts like linking images and external stylesheets. The learner answered 9 out of 10 questions correctly, missing only one question about the <aside> element. Overall, the questions assess a basic understanding of HTML fundamentals.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

My HTML Quiz

The document contains 10 multiple choice questions about HTML basics. It tests the learner's knowledge of common HTML tags, attributes, and concepts like linking images and external stylesheets. The learner answered 9 out of 10 questions correctly, missing only one question about the <aside> element. Overall, the questions assess a basic understanding of HTML fundamentals.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

1

Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following includes the file formats most often used to deliver images on the web?

Select one:
a. PPT, PDF, TIFF, PPTX, and occasionally CGM
b. RAW, PSP, BMP, XCF, and occasionally PICT
c. PSD, PSB, AI, CGM, and occasionally CDR
d. PPT, PDF, AI, CGM, and occasionally PICT
e. PNG, JPG, GIF, WEBP, and occasionally SVG
Feedback
Your answer is correct.
The correct answer is: PNG, JPG, GIF, WEBP, and occasionally SVG

Question 2
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following best describes the purpose of a table in HTML?

Select one:
a. Tables are lists of syntax errors generated by a browser when an incorrectly written HTML
file is parsed
b. Tables are a way of containing JavaScript, Server Side Includes, or PHP in HTML documents
so that the scripts do not appear
as text.
c. Tables offer a way to organize or arrange data, including text, numbers, images, or links in an
HTML document.
d. Tables allow web developers to specify different style sheets for different platforms
e. Tables are a way of transforming XML documents into HTML so that browsers can display
them correctly.
Feedback
Your answer is correct.
The correct answer is: Tables offer a way to organize or arrange data, including text, numbers,
images, or links in an HTML document.

Question 3
Correct
Mark 1.00 out of 1.00

Flag question

Question text
What is the default alignment for headings and paragraphs?
Select one:
a. Justify
b. wherever you type them in the source code
c. right
d. center
e. left
Feedback
Your answer is correct.
The correct answer is: left

Question 4
Correct
Mark 1.00 out of 1.00

Flag question

Question text
In HTML code, what is a tag?

Select one:
a. A part of an HTML document using the characters < and > that signals the nature of content
within a part of the file
b. None of these answers
c. A kind of signature put into an HTML file by the author that draws its name from a common
practice deployed by graffiti
artists
d. A brief keyword or phrase used to label blog posts, images, or videos, especially on social
networking websites or in large
databases
e. A way that computers in a network tell each other that they are done communicating that is
analogous to the children's
game of the same name
Feedback
Your answer is correct.
The correct answer is: A part of an HTML document using the characters < and > that signals the
nature of content within a part of the file

Question 5
Correct
Mark 1.00 out of 1.00

Flag question

Question text
How would you link to the named fragment #jobs on the page employ.html from the home page
of the site?
Select one:
a. <a link=" employ.html #jobs">Employment Opportunities< /a>
b. <a name="employ.html #jobs">Employment Opportunities< /a>
c. <a href= " employ.html# jobs " > Employment Opportunities< /a>
d. <a name="/employ.html #jobs">Employment Opportunities< /a>
e. none of the above
Feedback
Your answer is correct.
The correct answer is: <a href= " employ.html# jobs " > Employment Opportunities< /a>

Question 6
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
Which of the following is an HTMLS element used to indicate tangential content?
Select one:
a. nav
b. aside
c. sidebar
d. div
e. header
Feedback
Your answer is incorrect.
The correct answer is: aside

Question 7
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following associates a web page with an external style sheet?
Select one:
a. <style src= "style.css">
b. <style src= "/style.css">
c. <link rel= "stylesheet” href=”style.css">
d. <link rel= ”stylesheet” src="style.css”>
e. <style rel="external” href="style.css">
Feedback
Your answer is correct.
The correct answer is: <link rel= "stylesheet” href=”style.css">

Question 8
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which HTML attribute associates a table data cell with a table header cell?
Select one:
a. colspan
b. head
c. align
d. headers
e. rowspan
Feedback
Your answer is correct.
The correct answer is: headers

Question 9
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following HTML code snippets demonstrates a syntactically correct way to make
an image into a hyperlink?

Select one:
a. <img href = "http://www.saylor.org/" src = "image.jpg">
b. <a href = "http://www.saylor.org/"></a><img src = "image.jpg">
c. <img src = "image.jpg"><a href = "http://www.saylor.org/"></img>
d. None of these answers
e. <a href = "http://www.saylor.org/"><img src = "image.jpg"></a>
Feedback
Your answer is correct.
The correct answer is: <a href = "http://www.saylor.org/"><img src = "image.jpg"></a>

Question 10
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
Which of the following is an example of how to include an inline image in an HTML file?

Select one:
a. <img src="images/house.jpg" alt="house" />
b. <a href="house.jpg">house</a>
c. None of these answers
d. <image>
<url>http://www.saylor.org/images/house.jpg</url>
<title>House</title>
<link>www.saylor.org</link>
e. function preloader() {
heavyImage = new Image();
heavyImage.src = "house.jpg";
}
Feedback
Your answer is incorrect.
The correct answer is: <img src="images/house.jpg" alt="house" />
Finish review
P R EV IOUS AC T IV ITY
Assignment on Html Basics
NEXT AC TIVITY
Tutorial on Php Basics
Jump
to...

Skip Quiz navigation


Quiz navigation
Question1This pageQuestion2This pageQuestion3This pageQuestion4This pageQuestion5This
pageQuestion6This pageQuestion7This pageQuestion8This pageQuestion9This pageQuestion10This
page
Show one page at a timeFinish review

You might also like