
Week 3 Homework Review

Quiz
•
Other
•
University
•
Easy

Samantha Ruiz
Used 3+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the purpose of the `index.html` file in a website's structure?
It is used to store CSS styles.
It is the default filename for a website’s homepage.
It contains JavaScript functions.
It is used for storing images.
Answer explanation
The `index.html` file serves as the default filename for a website's homepage, allowing web servers to automatically load it when a user accesses the root URL. This makes it essential for website navigation.
2.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which HTML tag is used to create a hyperlink?
<p>
<a>
<link>
<href>
Answer explanation
The <a> tag is used to create hyperlinks in HTML. It allows you to link to other web pages or resources. The other options do not serve this purpose: <p> is for paragraphs, <link> is for linking stylesheets, and <href> is an attribute.
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Why is it recommended to use lowercase for HTML tags?
It is required by all browsers.
It is a best practice for readability and consistency.
It makes the code run faster.
It is a requirement of HTML5.
Answer explanation
Using lowercase for HTML tags is a best practice as it enhances readability and ensures consistency across the code. While HTML5 does not require it, following this convention helps maintain clean and organized code.
4.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the function of the `target` attribute in an <a> tag?
It specifies the URL of the link.
It defines how the link opens.
It sets the color of the link.
It specifies the text of the link.
Answer explanation
The `target` attribute in an <a> tag defines how the link opens, such as in a new tab or the same window. This is crucial for user experience, allowing control over link behavior.
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the purpose of comments in HTML?
To change the appearance of the webpage.
To document the code and make it easier to understand.
To execute JavaScript code.
To link external stylesheets.
Answer explanation
Comments in HTML are used to document the code, making it easier for developers to understand the structure and purpose of the code. They do not affect the appearance or functionality of the webpage.
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the role of Developer Tools in a web browser?
To create new HTML files.
To inspect and edit HTML, CSS, and JavaScript directly in the browser.
To download images from a webpage.
To convert HTML to PDF.
Answer explanation
Developer Tools in a web browser allow users to inspect and edit HTML, CSS, and JavaScript directly in the browser, making it easier to debug and test web pages in real-time.
7.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Does the following code have a BUG?
Yes
No
Answer explanation
The code has a bug, which could be due to syntax errors, logic flaws, or improper use of functions. Therefore, the correct answer is 'Yes'.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Tech quiz

Quiz
•
University
12 questions
HTML / CSS [V]

Quiz
•
University
15 questions
Das Quiz von Lektion 1

Quiz
•
10th Grade - Professi...
10 questions
10 câu chào hỏi cơ bản tiếng Đức

Quiz
•
1st Grade - Professio...
16 questions
Ką žinai apie Personalo departamentą?

Quiz
•
University
10 questions
chuyên đề Tin học 10

Quiz
•
10th Grade - University
15 questions
Day -4 Workshop Quiz

Quiz
•
University
17 questions
HTML QUIZ

Quiz
•
5th Grade - Professio...
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University