Q.1
What does CSS stand for?
  • Creative Style Sheets
  • Cascading Style Sheets
  • Colorful Style Spread
  • Computer Style Spread
Q.2
What are the 4 values of the flex-direction property?
  • row | row-reverse | column | column-reverse
  • height | width | number | percent
Q.3
How do you utilize flexbox's properties?
  • display: flex
  • display: on
  • display: show
  • display: image
Q.4
If we want define style for an unique element, then which css selector will we use ?
  • Id
  • element
  • class
  • child
Q.5
By default Hyperlinks are displayed with an underline. How do you remove the underline from all hyperlinks by using CSS code ?
  • a {text: no-underline;}
  • a {text-decoration:none;}
  • a {text-style: no-underline;}
  • a {text-decoration: no-underline;}
Q.6
How will you make all paragraph elements 'RED' in color ?
  • .p.all {color: red;}
  • .* {color: #990000;}
  • all.p {color: #998877;}
  • p {color: red;}
Q.7
Can we align a Block element by setting the left and right margins ?
  • Yes Possible
  • Not possible
Q.8
Using Responsive Web Design (RWD) ensures that site will display correctly in all desktop browsers and mobile devices.You used a grid-based layout and resize-able images, which is another RWD technique that you can use in responsive design?
  • Use relative units, such as percentages, for positioning page elements
  • Use standard page structure elements, including <header>, <footer> and <article>,  because older devices will display content in the structure elements correctly
  • Use static pixels for all content positioning
  • Use smaller fonts for all body text, to ensure it will appear correctly on smaller screens
Q.9
If we want to wrap a block of text around an image, which css property will we use ?
  • wrap
  • push
  • float
  • align
Q.10
Which of the following is the correct CSS syntax?
  • p:color=green, font-size=15px
  • {p:color=green, font-size=15px}
  • p {color:green, font-size:15px;}
  • p {color:green; font-size:15px;}
Q.11
When we write <img src="img.png">, what "img.png" inside double quote implies?
  • element
  • attribute
  • value
  • operator
Q.12
Which is not a property of attribute Behaviour of <Marquee> tag?
  • alternate
  • blur
  • scroll
  • slide
Q.13
Which CSS code is buggy?
  • link {color: blue;}
  • li {background-color: red;}
  • p {font-size: 10px;}
  • img {width: 100%;}
Q.14
Which css property you will use if you want to add some margin between a DIV's border and its inner text ?
  • spacing
  • margin
  • padding
  • inner-margin
Q.15
The default value of "position" attribute is _________.
  • fixed
  • absolute
  • sticky
  • relative
Q.16
John wants the name of his book to appear in search results for Google. Where should this information beplaced within his webpage?
  • head
  • meta
  • body
  • nav
Q.17
You should always define a backup font-family in CSS.
  • True
  • False
Q.18
What unit of measurement does CSS use for size?
  • px
  • em
  • %
  • All work
Q.19
Which is the value in this CSS?p {color: red;}
  • p
  • color
  • red
Q.20
How can you make a bulleted list?
  • <ol>
  • <ul>
  • <list>
  • <dl>
0 h : 0 m : 1 s