CSS Properties and Usage Quiz
CSS Properties and Usage Quiz
Front-R38-Test-6
تبديل الحسابbimeennader@[Link]
.تم حفظ المسّو دة
غير مشترك
* / id
285222251113
نقطة واحدة What is the purpose of the * { padding: 0; margin: 0; box-sizing: border- -1
?box; } rule
محو التحديد
محو التحديد
B. Transparent black
محو التحديد
محو التحديد
B. Adding shadows
C. Rounding corners
D. Adjusting transparency
محو التحديد
[Link] 1/9
3/21/25, 9:33 PM Front-R38-Test-6
نقطة واحدة Which of the following properties is used to control the space between -6
?letters
A. line-height
B. letter-spacing
C. word-spacing
D. text-transform
محو التحديد
a) fixed
b) static
C) absolute
D) relative
نقطة واحدة ?What is the range of values for the "opacity" property in CSS -9
0 to 1
b. 10 to 100
c. 1 to 2
d. 1 to 100
نقطة واحدة ?What is the purpose of the z-index property in CSS .10
a. attribute selectors
b. attributes
c. pseudo classes
[Link] 2/9
3/21/25, 9:33 PM Front-R38-Test-6
نقطة واحدة Choose the correct Css Properity for moving the text inside my website -13
.in all directions
margin-top
margin
del
text-align:center
نقطة واحدة What will be the output of following CSS code snippet? h1 { -14
background-color: "brown" }
c) nothing happen
d) h1 becomes brown
نقطة واحدة ?'How do you select elements with class name 'test -15
#test
test
*test
.test
نقطة واحدة Choose the correct Css Properity for changing the size of tags -17
a)font-style
b)font-size
c)font-weight
D)bolding font
نقطة واحدة ? semi colon (;) is obligated to be given to all properities inside element -18
yes
no
نقطة واحدة ?What is the correct HTML element for inserting a line break -19
<pr>
<break>
<br>
<lb>
[Link] 3/9
3/21/25, 9:33 PM Front-R38-Test-6
نقطة واحدة ?Which of the following is used to read an HTML page and render it -21
Web server
Web browser
Web network
Web matrix
نقطة واحدة ?Which element is used to get highlighted text in HTML -22
<u>
<mark>
<highlight>
<b>
نقطة واحدة In HTML, which attribute is used to create a link that opens in a new -23
?window tab
src=”_blank”
target=”_blank”
target=”_self”
alt=”_blank”
نقطة واحدة ?Which of the following HTML tag is used to create an unordered list -24
<order list>
<unordered list>
<unorder list>
none of all
نقطة واحدة ?What is the correct way to add comments in CSS .25
a. a) /* This is a comment */
b. b) // This is a comment //
c. c) // This is a comment
se
sec
seconds
نقطة واحدة What is the maximum number of classes you can apply to a single .27
?HTML element
a. One
b. Two
c. Five
d. Unlimited
[Link] 4/9
3/21/25, 9:33 PM Front-R38-Test-6
نقطة واحدة ?Which of the following is an example of a valid tag selector .28
a. .header
b. #navbar
c. div
d. [type="text"]
نقطة واحدة Which value for the "margin" property is used to center an element .29
horizontally
?within its parent container
a. auto
b. 6
c. 0
d. inherit
a. Attributes
b. selectors
c. pseudo classes
d. pseudo elements
نقطة واحدة ?What is the default value for the "line-height" property in CSS .31
a. 1
b. 1.2
c. normal
d. none
نقطة واحدة Which of the following property is used as the shorthand property of .32
?background properties
a. background-image
b. background-color
c. color
d. background
نقطة واحدة Which of the following is the correct syntax to display the hyperlinks )33
?without any underline
a {text-decoration : underline;}
a {decoration : no-underline;}
a {text-decoration : none}
نقطة واحدة How can you apply opacity to only the background of an element, not .34
affecting the
?text and other content
a. background-opacity: 0.5;
d. d) text-opacity: 0.5;
[Link] 5/9
3/21/25, 9:33 PM Front-R38-Test-6
نقطة واحدة Which value of the "position" property positions an element relative to .35
,the viewport
?even when scrolling
a. position:fixed;
b. relative
c. absolute
d. fixed
نقطة واحدة Which value of the "display" property makes an element not be .36
displayed at all on
?the page
a. hidden
b. none
c. invisible
d. display: none;
نقطة واحدة ?What is the purpose of the CSS float property .37
نقطة واحدة ? CSS property that make the Event take time while happenning .38
a. hover
b. transition
c. active
d. transform
نقطة واحدة . To Support Arabic language you have to use ........ tag -39
link
meta
h2
نقطة واحدة ? .......... To make a button class in html you can use -40
button
btn
h2
outline
border
div
text
[Link] 6/9
3/21/25, 9:33 PM Front-R38-Test-6
نقطة واحدة What is the correct CSS syntax to set a margin of 10 pixels for the top .42
and right, and
?pixels for the left and bottom sides of an element 20
c. margin: 10px;
نقطة واحدة How do you set a background image to cover the entire element's .43
background area
?without being stretched
a. background-fit: cover;
b. background-size: cover;
d. background-fill: cover;
نقطة واحدة .Block elements are normally displayed without starting a new line .44
True
False
نقطة واحدة .Choose the correct HTML tag for a large title -45
<h6>
<h3>
<heading 1>
<P>
نقطة واحدة . Choose the correct Css Properity for making text bold -46
a)font-style
b)font-size
c)font-weight
D)bolding font
نقطة واحدة ?Which of the following tag is used to embed css in html page -47
a) <css>
b) <!DOCTYPE html>
c) <script>
d) <style>
نقطة واحدة Which of the following CSS style property is used to specify an italic -48
?text
a) style
b) bold
c) font-style
d) italic
نقطة واحدة Which of the following is the correct syntax to make the background- )49
?color of all paragraph elements to yellow
p {background-color : #yellow;}
p {background-color : yellow;}
[Link] 7/9
3/21/25, 9:33 PM Front-R38-Test-6
نقطة واحدة What will be the expected output when the following code is executed in -50
?a web browser
B ِِA
D C
سياسة الخصوصية- شروط الخدمة- .Google لم يتم إنشاء هذا المحتوى وال اعتماده من ِقبل
نماذج
[Link] 8/9
3/21/25, 9:33 PM Front-R38-Test-6
[Link] 9/9