Frontend Assignment

Quiz
•
Other
•
Professional Development
•
Medium
Husna Shaik
Used 68+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the default value of the "display" property in CSS for an HTML element?
A. Inline
B. Table
C. Block
D. None
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the difference between the "id" and "class" attributes in HTML?
A. . There is no difference
B. "id" is used to identify a unique element, while "class" is used to group multiple elements
C. "class" is used to identify a unique element, while "id" is used to group multiple elements
D. "id" and "class" are used interchangeably to identify elements
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following HTML tags is used to create a list with bullet points?
a. <ul>
b. <li>
c. <ol>
d. <dl>
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following HTML tags is used to create a hyperlink?
A. <img>
B. <p>
C. <h1>
D. <a>
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of the alt attribute in the <img> tag?
A) To add a caption to an image
B) To specify the dimensions of an image
C) To provide alternative text for an image if it cannot be displayed
D) To add a hyperlink to an image
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the difference between padding and margin in CSS?
A) Padding and margin are only used for text elements.
B) Padding is the space outside an element, while margin is the space inside an element.
C) Padding and margin both refer to the same thing.
D)Padding is the space inside an element, while margin is the space outside an element.
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the difference between inline and block elements in CSS?
A) Inline elements are displayed on their own line, while block elements are displayed inline with other elements.
B) Inline elements are displayed inline with other elements, while block elements are displayed on their own line.
C) Inline elements and block elements are the same thing.
D) Inline elements are only used for text elements, while block elements are used for all other elements.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Boboiboy Galaxy season 1

Quiz
•
KG - Professional Dev...
20 questions
UD4 Comunicació aplicada a prevenció

Quiz
•
Professional Development
20 questions
Data Structure

Quiz
•
Professional Development
20 questions
Zodiac signs

Quiz
•
5th Grade - Professio...
15 questions
ARTAPP

Quiz
•
Professional Development
18 questions
MSFFDM4014 - Produce manual and CAD

Quiz
•
Professional Development
15 questions
React & JS - Day 5 - KEC

Quiz
•
Professional Development
17 questions
HTML QUIZ

Quiz
•
5th Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade