Today's goals
Getting started with HTML
CSS Basics
Creating a web page
Graded Assignment
Module Quiz: Introduction to HTML and CSS
Assessment monitored for academic integrity and AI-usage. Privacy Notice
What to expect
You passed!
To pass you need a grade of at least 80%.
Submitted Jul 22, 4:38 AM WAT.
Module Quiz: Introduction to HTML and CSS
Graded Assignment • 30 min
Your grade: 100%
1.
Question 1Which two elements should be added to the html element to make the structure of an HTML document?
Do you understand?.
Correct! The <head> element is added to the html element.
Correct! The <body> element is added to the html element.
2.
Question 2When using the anchor tag <a>, which attribute determines where the hyperlink links to?
Do you understand?.
Correct! The href attribute specifies where the hyperlink links to. <a href="index.html">Link</a>
3.
Question 3When adding an image to a web page, which of the following is the correct HTML tag?
Do you understand?.
Correct! The img tag adds an image to a web page. <img src="image.jpg">
4.
Question 4How many columns exist on the following HTML table?
Do you understand?.
Correct! There are 2 columns and 3 rows in this HTML table.
5.
Question 5When an HTML form is submitted to a web server, which HTTP methods can be used? Select all that apply.
Do you understand?.
Correct. A GET method can be used for the form submission. <form method="get">
Correct. A POST method can be used for the form submission. <form method="post">
6.
Question 6Which CSS selectors can select the h1 element for the following HTML code? Select all that apply.
Do you understand?.
Correct! The element selector can select the h1 element based on its h1 tag.
Correct. The ID selector can select the h1 element based on its ID attribute.
7.
Question 7In the following CSS code, what is the color keyword?
Do you understand?.
Correct! The CSS properties are defined inside the curly brackets in a CSS rule.
8.
Question 8Based on the following CSS, what will the margin-box width be for div elements?
Do you understand?.
Correct! The margin-box width = content width + padding width + border width + margin width. In this scenario, the margin-box width is 30 pixels.
9.
Question 9In document flow, block-level elements always start on a new line. State TRUE or FALSE.
Do you understand?.
Correct! Block-level elements always start on a new line.
10.
Question 10Based on the following CSS code, how will the text be aligned for the p element?
Do you understand?.
Correct! The justify value will spread out the text within the p element so that every line has the same width.
No comments:
Post a Comment