Keyword

Result: 54 questions

In CSS, Select the appropriate option to style an element so that the next element would appear right next to it not underneath it if both elements widths were collectively smaller than the container element?

Quiz

In CSS, what is the correct option to select all the tags on a page?

Quiz

In CSS, what is the correct option to select only the paragraphs with class name “warning”?
<p class=”warning”>Don’t do it.</p>
<p>Do it.</p>
<p class=”warning”>Nooo, don’t do it.</p>

Quiz

In CSS, Select the property to set an image in a list instead of a standard bullet?

Quiz

In CSS,select the property used to set the background color of an image?

Quiz

What is CSS ?

Answer:

The full form of CSS is Cascading Style Sheets. It is a styling language which is simple enough for HTML elements. It is popular in web designing, and its application is common in XHTML also.

View

What is the origin of CSS ?

Answer:

Standard Generalized Markup Language marked the beginning of style sheets in 1980s.

View

What are the different variations of CSS ?

Answer:

The variations for CSS are:

  • CSS 1
  • CSS 2
  • CSS 2.1
  • CSS 3
  • CSS 4
View

What are the limitations of CSS ?

Answer:

Limitations are:

  •  Ascending by selectors is not possible
  • Limitations of vertical control
  • No expressions
  • No column declaration
  • Pseudo-class not controlled by dynamic behavior
  • Rules, styles, targeting specific text not possible
View

What are the advantages of CSS ?

Answer:

Advantages are:

  • Bandwidth
  • Site-wide consistency
  • Page reformatting
  • Accessibility
  • Content separated from presentation
View

What are CSS frameworks?

Answer:

It is a pre-planned libraries, which allows easier and more standards-compliant webpage styling, using CSS language.

View

How block elements can be centered with CSS1?

Answer:

Block level elements can be centered by:

The margin-left and margin-right properties can be set to some explicit value:

BODY {
 
width: 40em;
 
background: fluorescent;
 
}
 
P {
 
width: 30em;
 
margin-right: auto;
 
margin-left: auto
 
}

In this case, the left and right margins will be each, five ems wide since they split up the ten ems left over from (40em-30em). It was unnecessary for setting up an explicit width for the BODY element; it was done here for simplicity.

View

Who maintains the CSS specifications?

Answer:

World Wide Web Consortium maintains the CSS specifications.

View

In how many ways can a CSS be integrated as a web page?

Answer:

CSS can be integrated in three ways:

  • Inline: Style attribute can be used to have CSS applied HTML elements.
  • Embedded: The Head element can have a Style element within which the code can be placed.
  • Linked/ Imported: CSS can be placed in an external file and linked via link element.
View

What does CSS selector mean?

Answer:

A string equivalent of HTML elements by which declarations or a set of it, is declared and is a link that can be referred for linking HTML and Style sheet is CSS selector.

View

Enlist the media types CSS allows? 

Answer:

The design and customization of documents are rendered by media. By applying media control over the external style sheets, they can be retrieved and used by loading it from the network.

View

Comment on the Case-sensitivity of CSS ?

Answer:

Although, there are no case-sensitivity of CSS, nevertheless font families, URL’s of images, etc is. Only when XML declarations along with XHTML DOCTYPE are being used on the page, CSS is case -sensitive.

View

Can more than one declaration be added in CSS?

Answer:

Yes, it can be achieved by using a semicolon.

View

What is Pseudo-elements ?

Answer:

Pseudo-elements are used to add special effects to some selectors.  CSS in used to apply styles in HTML mark-up. In some cases when extra mark-up or styling is not possible for the document, then there is a feature available in CSS known as pseudo-elements. It will allow extra mark-up to the document without disturbing the actual document.

View

Can default property value be restored through CSS? If yes, how?

Answer:

In CSS, you cannot revert back to old values due to lack of default values. The property can be re- declared to get the default property.

View

© 2017 QuizBucket.org