General Knowledge Flashcards
Which of the style sheets is also known as Embedded Style Sheet ?
A Inline Style Sheet
B External Style Sheet
C Document Style Sheet
D None of the above
C Document Style Sheet
note: this is in the head section of the HTML document inside
style …. style
Which of the following properties is used to set the background image of an element ?
A background-repeat
B background-position
C background-image
D background-color
C background-image
Which of the following property of a table element specifies the width that should appear between table cells ?
A :empty-cells
B :caption-side
C :border-spacing
D :border-collapse
C :border-spacing
Which of the following properties is used to capitalize text or convert text to uppercase or lowercase letters ?
A text-decoration
B text-align
C text-indent
D text-transform
D text-transform
Which of the following properties is used to add or subtract space between the letters that make up a word ?
A direction
B color
C word-spacing
D letter-spacing
D letter-spacing
Which of the following is the superior styles of html ?
A frame
B frames
C iframe
D css
D css
The Disadvantages of Cascading Style Sheets is
A Browsers Compatibility
B Low Performance
C High Performance
D All of the above
A Browsers Compatibility
Which of the following property is used to set the width of an image border ?
A width-of-border
B img-width
C border-width-img
D border
D border
Which of the following value of cursor shows it as an arrow ?
A crosshair
B pointer
C move
D default
D default
Which of the following property of a table element specifies whether the border should be shown if a cell is empty ?
A border-spacing
B empty-cells
C border-collapse
D caption-side
B empty-cells
Which of the following property is used to capitalize text or convert text to uppercase or lowercase letters ?
A text-decoration
B text-align
C text-indent
D text-transform
D text-transform
Which of the following properties is used to add or subtract space between the letters that make up a word ?
A direction
B color
C word-spacing
D letter-spacing
D letter-spacing
Which of the following property is used to set the background image of an element ?
A background-position
B background-repeat
C background-color
D background-image
D background-image
Which of the following property is used to change the face of a font ?
A font-variant
B font-weight
C font-family
D font-style
C font-family
Which of the following properties is used to add or subtract space between the words of a sentence ?
A word-spacing
B color
C direction
D letter-spacing
A word-spacing
Which of the following properties is used to set the text shadow around a text ?
A white-space
B text-decoration
C text-shadow
D text-transform
C text-shadow
_____ is used to import an external style sheet in a manner similar to the element.
A #insert
B #import
C @insert
D @import
D @import
The CSS anchor links properties are
A :link, :visited, :hover, :active, :inactive
B :link, :visited, :hover, :active
C :link, :visit, :hover, :active
D :link, :visited, :over, :active
B :link, :visited, :hover, :active
a:link - a normal, unvisited link.
a: visited - a link the user has visited.
a: hover - a link when the user mouses over it.
a: active - a link the moment it is clicked.
*Internet Explorer 5-7* uses the _____ property to create transparent images.
A filter= alpha(opacity:x)
B -moz-opacity:x
C filter: alpha(opacity=x)
D none of the above
C filter: alpha(opacity=x)
The different ways to associate styles with a HTML document is/are
A Inline CSS with style attribute.
B Embedded CSS with element
C External CSS with element.
D all the above
D all the above
In CSS tables, the possible values for the caption-side property (which side of the table the caption will appear on) can have the following values.
A top, bottom, center, left or right
B left or right
C top or bottom
D top, bottom, left or right
D top, bottom, left or right
Which of the following is correct about CSS ?
A Style sheets allow content to be optimized for more than one type of device.
B Using CSS, we can view offline websites. The cache also ensures faster loading and better overall performance of the website.
C CSS can store web applications locally with the help of an offline cache.
D All of the above.
D All of the above.
To use inline styles you use the style attribute in the _____ tag
A link tag
B style tag
C relevant tag
D None of the above
C relevant tag
Each style rule in a rule list has _____ parts.
A two
B three
C four
D five
A two as in selector { style: value }