What is the default value of the "display" property in CSS for an HTML element?
Frontend Assignment

Quiz
•
Other
•
Professional Development
•
Medium
Husna Shaik
Used 65+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
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 Quizizz
20 questions
JEE Paper -2 MT-2

Quiz
•
7th Grade - Professio...
20 questions
CSS Basics Quiz

Quiz
•
Professional Development
15 questions
Numpy

Quiz
•
Professional Development
15 questions
WCS 1105-4 - Knowledge Assessment

Quiz
•
Professional Development
17 questions
Solid Fuel Fires

Quiz
•
Professional Development
15 questions
Skill Area 1 - Programmable Logic Controller

Quiz
•
Professional Development
24 questions
P.Passiva

Quiz
•
Professional Development
20 questions
CPL PoF Lift Revision 1

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade