Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

What are the possilbe values for "display" in CSS ?

There are 16 possible values for display property.In interview you may be asked to name 5 or less. 
 
display: block   inherit   inline  inline-block   inline-table   list-item   none   run-in   table table-caption   table-cell   table-column   table-column-group   table-row   table-row-group   table-footer-group   table-header-group

These are the possible values for display property

(This question was posted in http://qa.i4interview.com by Rahul and answered by Anoop)

What is the definition for CSS ?

Suitable Answer: Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (that is, the look and formatting) of a document written in a markup language.

More About This: CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layout, colors, and fonts.[citation needed] This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for tableless web design). CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based, tactile devices. While the author of a document typically links that document to a CSS style sheet, readers can use a different style sheet, perhaps one on their own computer, to override the one the author has specified.

Related Posts Plugin for WordPress, Blogger...