Deck 15: HTML and CSS Basics
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/24
العب
ملء الشاشة (f)
Deck 15: HTML and CSS Basics
1
Head tag is used for?
A)Writing style
B)Writing Java Script
C)Including CSS, JS Files
D)All of these
A)Writing style
B)Writing Java Script
C)Including CSS, JS Files
D)All of these
All of these
2
Which of the following are the background properties in CSS?
i. background-color
ii. background-image
iii. background-repeat
iv. background-position
v. background
A)i, ii, iii and iv only
B)i, ii, iii and v only
C)i, ii, iv and v only
D)All of the above
i. background-color
ii. background-image
iii. background-repeat
iv. background-position
v. background
A)i, ii, iii and iv only
B)i, ii, iii and v only
C)i, ii, iv and v only
D)All of the above
All of the above
3
The different ways to associate styles with a HTML document are ……………
A)Embedded css with <style> element
B)Inline css with style attribute
C)External css with <link> element
D)All of the above
A)Embedded css with <style> element
B)Inline css with style attribute
C)External css with <link> element
D)All of the above
All of the above
4
The ..................... specifies whether a border should be solid, dashed line, dotted line, double line, groove etc.
A)border-layout
B)border-decoration
C)border-style
D)border-weight
A)border-layout
B)border-decoration
C)border-style
D)border-weight
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which of the following are the advantages of CSS?
A)CSS saves time
B)Page load faster
C)Easy maintenance
D)All of the above
A)CSS saves time
B)Page load faster
C)Easy maintenance
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
6
A CSS style rule is made up of three parts which are ……
i. Selector
ii. Property
iii. Value
iv. Attribute
A)ii and iv only
B)ii, iii and iv only
C)i, ii and iii only
D)i, ii, iii and iv
i. Selector
ii. Property
iii. Value
iv. Attribute
A)ii and iv only
B)ii, iii and iv only
C)i, ii and iii only
D)i, ii, iii and iv
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which is not the selector type of CSS?
A)ID selector
B)Universal selector
C)Class selector
D)Element selector
A)ID selector
B)Universal selector
C)Class selector
D)Element selector
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
8
CSS comments are inserted inside …………………
A)//...................//
B)<!..................>
C)/*..................*/
D)All of the above
A)//...................//
B)<!..................>
C)/*..................*/
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
9
...................... is used to import an external style sheet
A)@insert
B)@import
C)#import
D)#insert
A)@insert
B)@import
C)#import
D)#insert
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
10
The ___________ property specifies the stack order of an element
A)d-index
B)s-index
C)x-index
D)z-index
A)d-index
B)s-index
C)x-index
D)z-index
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
11
To specify table border in CSS, ____________ property is used
A)tbl-border
B)table-border
C)tb-border
D)border
A)tbl-border
B)table-border
C)tb-border
D)border
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
12
______________ property specifies an image to use as the background of an element
A)backg-img
B)backg-image
C)background-img
D)background-image
A)backg-img
B)backg-image
C)background-img
D)background-image
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which HTML attribute is used to define inline styles?
A)class
B)styles
C)style
D)Font
A)class
B)styles
C)style
D)Font
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
14
The <link> tag goes inside
A)body section
B)head section
C)style section
D)title section
A)body section
B)head section
C)style section
D)title section
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
15
When does JavaScript code appear inline within an HTML file?
A)Between the "script" tag
B)Outside the "script" tag
C)Both a and b
D)None of the mentioned
A)Between the "script" tag
B)Outside the "script" tag
C)Both a and b
D)None of the mentioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which is the root element in a HTML document?
A)HTML
B)HEAD
C)SCRIPT
D)BODY
A)HTML
B)HEAD
C)SCRIPT
D)BODY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
17
What is the default value of the type attribute in javascript?
A)text/css
B)text/javascript
C)text
D)xml
A)text/css
B)text/javascript
C)text
D)xml
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
18
What are the objects in Java Script?
A)Document object
B)Window object
C)Form object
D)All of the above
A)Document object
B)Window object
C)Form object
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
19
JavaScript Code can be called by using
A)RMI
B)Triggering Event
C)Preprocessor
D)Function
A)RMI
B)Triggering Event
C)Preprocessor
D)Function
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
20
A hexadecimal literal begins with
A)00
B)0x
C)0X
D)Both b and c
A)00
B)0x
C)0X
D)Both b and c
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
21
The escape sequence '\f' stands for
A)Floating numbers
B)Representation of functions that returns a value
C)\f is not present in JavaScript
D)Form feed
A)Floating numbers
B)Representation of functions that returns a value
C)\f is not present in JavaScript
D)Form feed
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
22
The snippet that has to be used to check if "a" is not equal to "null" is
A)if(a!=null)
B)if (!a)
C)if(a!null)
D)if(a!==null)
A)if(a!=null)
B)if (!a)
C)if(a!null)
D)if(a!==null)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
23
Consider the following statements var text = "testing: 1, 2, 3"; // Sample text var pattern = /\d+/g In order to check if the pattern matches with the string "text", the statement is
A)text==pattern
B)pattern.test(text)
C)text.test(pattern)
D)text.equals(pattern)
A)text==pattern
B)pattern.test(text)
C)text.test(pattern)
D)text.equals(pattern)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
24
A function definition expression can be called
A)Function prototype
B)Function literal
C)Function definition
D)Function declaration
A)Function prototype
B)Function literal
C)Function definition
D)Function declaration
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck