Frontend Assignment

Quiz
•
Other
•
Professional Development
•
Medium
Husna Shaik
Used 66+ 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
25 questions
Mastering The Art Of Frontend Web Development

Quiz
•
Professional Development
24 questions
P.Passiva

Quiz
•
Professional Development
20 questions
CPL PoF Lift Revision 1

Quiz
•
Professional Development
20 questions
Data Structure

Quiz
•
Professional Development
17 questions
HTML QUIZ

Quiz
•
5th Grade - Professio...
20 questions
UD4 Comunicació aplicada a prevenció

Quiz
•
Professional Development
15 questions
Boboiboy Galaxy season 1

Quiz
•
KG - Professional Dev...
16 questions
Instrumentation Introduction

Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade