0% found this document useful (0 votes)
9 views2 pages

(HTML && 4 4testCSS && HTML5) Front R31

اختبار جامعه الشعب

Uploaded by

zcfmfbv9tr
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

(HTML && 4 4testCSS && HTML5) Front R31

اختبار جامعه الشعب

Uploaded by

zcfmfbv9tr
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

(HTML && CSS &&

HTML5) Front R31


98/100 ‫إجمالي النقاط‬

* / ‫ثى بالعربي‬9‫ا;سم ث‬

!‫سمية عبدالرحمن عبدا‬

* id

274122144

2/2 Choose the correct HTML Tag for first .1


Section in the website

header

main

section

footer

2/2 Which of the following CSS property is -2


used to specify the space between every
?letter inside an element

letter-spacing

padding-spacing

margin-left

inside-spacing

2/2 An HTML program is saved by using .3


.the ____ extension

a. .ht

b. .xml

c. .hml

d. None of the above

2/2 Which property allows an image link to .4


?show a text label

a. alt

b. src

c. Alternative

d. None of the above

2/2 Which input type is used for selecting a .5


?multiple option from a list of choices

a. Radio

b. CheckPox

c. Select

d. None of the above

2/2 What is the correct HTML input type for .6


?collecting numerical input

a) number

b) numeric

c) integer

d) value

2/2 p { color : green } is that a value for .7


? ? ? " ; " that code without

yes

no

2/2 Which of the following is the correct -8


syntax to display the hyperlinks without
?any underline

a {text-decoration : underline;}

a {decoration : no-underline;}

a {text-decoration : unline}

a {text-decoration : none}

2/2 ?How to insert an image in HTML .9

a. <img href = "[Link]" />

b. <img scr = "[Link]" />

c. <img link = "[Link]" />

d. <img src = "[Link]" />

2/2 What HTML input type is used for a .10


?hidden input field

a) hidden

b) invisible

c) secret

d) hide

2/2 What will be the output of following .11


CSS code snippet? h1 { color: rad ; }

a. heading becomes red

b. heading becomes dark-red

c. nothings happen

d. h1 becomes red

2/2 What is the purpose of the <del> tag .12


?in HTML

a. To highlight and mark speciOc text

b. To make text smaller in size

c. To indicate deleted or removed text

d. None of the above

2/2 What is the correct HTML input type .13


?for a progress bar

a) progress

b) progressbar

c) status

d) loadingbar

2/2 Which of these options expresses the .14


value of transparency in the dark layer
?rgba

a. opacity

b. Olter

c. alpha

d. color

2/2 What is the difference between the .15


?<a> and <iframe> tags

a. <a> tags create hyperlinks, while


<iframe> tags embed content

b. <a> tags embed content, while <iframe>


tags create hyperlinks

c. There is no difference between the two


tags

d. None of the above

2/2 What is the maximum number of .16


classes you can apply to a single HTML
?element

a. One

b. Two

c. Five

d. Unlimited

2/2 ?What is the purpose of HTML entities .17

a. To deOne the structure of a web page

b. To represent special characters or


symbols in HTML

c. To create hyperlinks between web pages

d. To style the appearance of web page


elements

2/2 What is the result of applying "text- - .18


transform: capitalize" to the text "eslam
?"ahmed

a. eslam Ahmed

b. Eslam ahmed

c. ESLAM AHMED

d. Eslam Ahmed

2/2 div1 {z-indix : 3; } .div2 {z-indix : .19


. 10; }

a. div2 will be over div1

b. div1 will be over div2

c. div2 will be over all cause it is last


written in code .

d. nothing will happen

2/2 What is the purpose of the "thead," .20


"tbody," and "tfoot" tags in an HTML
?table

a. They deOne different sections of the


table.

b. They represent different types of table


headers.

c. They specify the width of the table.

d. They indicate the data cells of the table.

2/2 What is the value of attribute is used .21


to create a link that opens in a new
window
?tab

a. _self

b. target=”_blank”

c. target=”_self”

d. _blank

2/2Which HTML element is used to define .22


?navigation links

a) <nav>

b) <navigate>

c) <link>

d) <navigation>

2/2 In HTML, you can assign multiple id .23


names to an element by separating them
with
. spaces in the "id" attribute

False

True

2/2 to write Email you have to use -24


? ........... attribute

a) type="password"

b) type="email"

c) input

d) type="radio"

2/2 CSS property that make the Event .25


? take time while happenning

a. hover

b. transition

c. active

d. transform

2/2 Which of the following tags doesn’t .26


?require a closing tag

a. <br>

b. <hr>

c. Both a and b

d. None of the above

2/2 Which of the following is an example .27


?of a valid id selector

a. .header

b. #navbar

c. div

d. [type="text"]

2/2 Which property is used to change the .28


?text color in CSS

a. font-color

b. color

c. text-color

d. colors

2/2 Which value for the "border-style" .29


?property creates a dotted border

a. dottid

b. solid

c. dashed

d. None of the above

2/2 What is the default value for the .30


? "border-style" property

a. None

b. Hidden

c. Visible

d. Invisible

2/2 How do you select all <h1> elements .31


?on a web page using a tag selector

a. tag(h1) { ... }

b. h1 { ... }

c. .h1 { ... }

d. #h1 { ... }

0/2 What happens if multiple tag selectors .32


target the same element with different
?styles

a. The styles from all tag selectors are


combined.

b. The styles from the last tag selector take


precedence.

c. The styles from the Orst tag selector take


precedence.

d. The styles are applied randomly.

2/2 ........................ hover is one of the .33

a. Attributes

b. selectors

c. pseudo classes

d. pseudo elements

2/2 What is the correct border shorthand .34


? property

a. border: border-width border-style border-


colour ;

b. bordr: border-width border-stlye border-


color ;

c. border: border-height border-style border-


color ;

d. border: border-width border-style border-


color ;

2/2 What is the correct CSS syntax to set .35


a margin of 10 pixels for the top and right,
and
pixels for the left and bottom sides of 20
?an element

a. margin: 10px 20px;

b. margin: 10px 10px 20px 20px;

c. margin: 10px;

d. margin: 10px 20px 10px;

2/2 Which value for the "margin" property .36


is used to center an element horizontally
?within its parent container

a. auto

b. center

c. 0

d. inherit

2/2 Choose the correct HTML tag for - .37


adding two different Languages

wbr

add

bdi

src

2/2 Which CSS property is used to set the .38


margin on all four sides of an element
?simultaneously

a. margan-all

b. margan

c. all-margan

d. None of the above

2/2 How do you apply a hover effect to an .39


?element in CSS

a. hover: { }

b. :hover { }

c. .hover { }

d. #hover { }

2/2 How do you set a fixed background .40


image that does not scroll with the
?content

a. background-attachment: scroll;

b. background-attachment: Oxed;

c. background-scroll: none;

d. background-Oxed: true;

2/2 ........................ after is one of the .41

a. Attributes

b. selectors

c. pseudo classes

d. pseudo elements

2/2 How do you apply a hover effect to all .42


the buttons within a div element with the id
?container" in CSS"

a. .container button:hover { }

b. button .container:hover { }

c. #container button:hover { }

d. button:hover .container { }

2/2 How do you set a background image .43


to cover the entire element's background
area
?without being stretched

a. background-Ot: cover;

b. background-size: cover;

c. background: Ot cover;

d. background-Oll: cover;

2/2 What is the purpose of the CSS float .44


?property

a. To create a eoating image effect


b. To position an element to the left or right
of its container

c. To control the transparency of an


element

d. To create a eoating navigation menu

2/2 Which of the following is the correct .45


?HTML5 doctype declaration

a. <!DOCTYPE HMLT>

b. <!DOCTYPE html5>

c. <!DOCTYPE HTML5 PUBLIC >

d. <!DOCTYPE html>

2/2 defines a date picker, the.……… .46


resulting value includes the year, month,
day, and time

a. <input type="date ">

b. <input type="datetime-local">

c. <input type="url">

d. <input type="search ">

2/2 In HTML, what does the <aside> .47


?element define

[Link] aside from the page content

b. A navigation list to be shown at the left


side of the page

[Link] ASCII character-set; to send


information between computers on the
Internet

d. attribute

2/2 Block elements are normally .48


.displayed without starting a new line

True

False

2/2 Which HTML element is used to .49


specify a header for a document or
?section

a. <header>

b. <head>

c. <section>

d. <top>

2/2 What is the range of values for the .50


?"opacity" property in CSS

a. 0 to 1

b. 0 to 100

c. -1 to 1

d. 1 to 100

‫غ عن إساءة ا;ستخدام‬9‫ب‬B‫ ا‬.Google ‫حتوى و; اعتماده من ِقبل‬M‫لم يتم إنشاء هذا ا‬


‫ سياسة الخصوصية‬- ‫ شروط الخدمة‬-

‫نماذج‬

You might also like