This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Are The Values Of “position” Attribute In Css? |
|
Answer» POSSIBLE values are static. relative, ABSOLUTE, FIXED. INHERIT. Possible values are static. relative, absolute, fixed. Inherit. |
|
| 2. |
What Is The Default Value Of “position” Attribute In Css? |
|
Answer» Default value Is “static “. |
|
| 3. |
How To Page Break After An Html Element In Css? |
|
Answer» Use following code SNIPPET After above code. the rest content will appear in the next page. (It will not be visible as next page in BROWSER but on the printer and in Print Preview, you will see them as next page) Use following code snippet After above code. the rest content will appear in the next page. (It will not be visible as next page in browser but on the printer and in Print Preview, you will see them as next page) |
|
| 4. |
Display And Visibility Properties Are Used To Hide And Show Elements In Any Page. Then How They Are Different From Each Other? |
|
Answer» As said both the properties are used to HIDE and SHOW elements but they are different in the WAY they both work visibility property, SET to hidden will still occupy the space in the layout but display:none does not take up the space in the page As said both the properties are used to hide and Show elements but they are different in the way they both work visibility property, set to hidden will still occupy the space in the layout but display:none does not take up the space in the page |
|
| 5. |
What Is Css Rule ‘ruleset’? |
|
Answer» There are two types of CSS rules: ruleset and at-RULE. Ruleset identifies selector or SELECTORS and DECLARES STYLE which is to be attached to that selector or selectors. For EXAMPLE P {text-indent: 10pt) is a CSS rule. CSS rulesets consist of two parts: selector e.g. P and declaration. e.g. {text-indent: 10pt) There are two types of CSS rules: ruleset and at-rule. Ruleset identifies selector or selectors and declares style which is to be attached to that selector or selectors. For example P {text-indent: 10pt) is a CSS rule. CSS rulesets consist of two parts: selector e.g. P and declaration. e.g. {text-indent: 10pt) |
|
| 6. |
State Some Limitations Of Style Sheets? |
|
Answer» Style sheets do have its own share of limitations some of them are as follows: - Style sheets do have its own share of limitations some of them are as follows: - |
|
| 7. |
Explain About Float Containment? |
|
Answer» CSS does not support float elements as it can cause overflow of the elements. Floats ALSO tend to vary according to the web browser resolution and size but POSITIONS do not. There are some multiple properties which can DEFINE about float but they have their own limitations. CSS does not support float elements as it can cause overflow of the elements. Floats also tend to vary according to the web browser resolution and size but positions do not. There are some multiple properties which can define about float but they have their own limitations. |
|
| 8. |
Explain About The Ease Of Maintenance With Css. |
|
Answer» An effective STYLE sheet has effective use of inheritance and cascading style sheets. When CHANGES are applied to a SINGLE element of this GLOBAL style sheet every element of the WEB page changes. This made the maintenance easy because here we can change the style of the whole page by effecting a change to a single element. An effective style sheet has effective use of inheritance and cascading style sheets. When changes are applied to a single element of this global style sheet every element of the web page changes. This made the maintenance easy because here we can change the style of the whole page by effecting a change to a single element. |
|
| 9. |
Explain About Lack Of Orthogonality? |
|
Answer» Lack of orthogonality explains about the various multiple JOBS which are either undefined correctly for a specific application or used multiple times for the same job. CSS defines that internal ELEMENTS of a table will not have margins so usage of border SPACING is APPROPRIATE which leads to CONFUSION. Lack of orthogonality explains about the various multiple jobs which are either undefined correctly for a specific application or used multiple times for the same job. CSS defines that internal elements of a table will not have margins so usage of border spacing is appropriate which leads to confusion. |
|
| 10. |
Explain About Absence Of Expressions? |
|
Answer» CSS currently does not have the ability to SPECIFY property VALUES as simple expressions. For EXAMPLE if you want to CALCULATE the size of all the columns but you have a restriction on the sum of all columns. This problem has been solved by many browsers by proprietary expressions which did the job well. CSS currently does not have the ability to specify property values as simple expressions. For example if you want to calculate the size of all the columns but you have a restriction on the sum of all columns. This problem has been solved by many browsers by proprietary expressions which did the job well. |
|
| 11. |
Explain About Vertical Control Limitation? |
|
Answer» Vertical control limitations are always a nightmare for a designer. HORIZONTAL positioning of text or element is always easy but vertically positioning an element always leads to convoluted and impossible tasks. CSS has UNSUPPORTED RULES for vertical PLACEMENT of elements. Vertical control limitations are always a nightmare for a designer. Horizontal positioning of text or element is always easy but vertically positioning an element always leads to convoluted and impossible tasks. CSS has unsupported rules for vertical placement of elements. |
|
| 12. |
Explain About Internet Explorer Box Model Bug? |
|
Answer» Designers had a very TOUGH time dealing with this BUG, because it will not display box WIDTHS appropriately on the webpage. It displayed the BLOCK to be narrow in size. This bug can be rectified by using CSS filter and hacks. Also correct usage and documentation of XHTML can solve the problems. Designers had a very tough time dealing with this bug, because it will not display box widths appropriately on the webpage. It displayed the block to be narrow in size. This bug can be rectified by using CSS filter and hacks. Also correct usage and documentation of XHTML can solve the problems. |
|
| 13. |
Explain About Css Filter? |
|
Answer» CSS filter solves designers and coders difficulties. With the help of these filters one can write entirely DIFFERENT code or modify the EXISTING design patterns so that browsers receive CSS specifications which they support, THEREBY not allowing the browsers to MAKE or create any unnecessary CHANGES. CSS filter solves designers and coders difficulties. With the help of these filters one can write entirely different code or modify the existing design patterns so that browsers receive CSS specifications which they support, thereby not allowing the browsers to make or create any unnecessary changes. |
|
| 14. |
What Are The Additional Features Which Were Present In Css2 Compared To Css1? |
|
Answer» Many of the new FEATURES were PRESENT in CSS2 some of them are as follows. Many of the new features were present in CSS2 some of them are as follows. |
|
| 15. |
Explain About Css1? |
|
Answer» W3C recommended adoption of CSS1in 1996. Some of the capabilities and features PRESENT in CSS1 are as follows. W3C recommended adoption of CSS1in 1996. Some of the capabilities and features present in CSS1 are as follows. |
|
| 16. |
What Are The Main Goals Of Applying Style Sheets? |
|
Answer» The main use of style sheet is to give the user a greater degree of control over his presentation. If the user does not LIKE a certain font he can change it with FLEXIBILITY without any difficulty. ALSO a developer can minimize the effects which a browser can have on the application or the text PART of the webpage. Control over the entire web PAGE without any external influences, separation of the page from the HTML code part. The main use of style sheet is to give the user a greater degree of control over his presentation. If the user does not like a certain font he can change it with flexibility without any difficulty. Also a developer can minimize the effects which a browser can have on the application or the text part of the webpage. Control over the entire web page without any external influences, separation of the page from the HTML code part. |
|
| 17. |
State The Different Type Of Author Styles? |
|
Answer» A WEB page AUTHOR, developer, designer, etc can describe styles in three different forms they are A web page author, developer, designer, etc can describe styles in three different forms they are |
|
| 18. |
State Some Of The Uses Of Css? |
|
Answer» CSS offers many possibilities to a designer and DEVELOPER. Some of them are CSS offers many possibilities to a designer and developer. Some of them are |
|
| 19. |
Explain About The Hover Element? |
|
Answer» A HOVER element is activated when the user moves a pointer over the area where HTML coding is defined. This STYLE is being extensively USED for ONLINE advertising. It is appended to #elementid:hover. A hover element is activated when the user moves a pointer over the area where HTML coding is defined. This style is being extensively used for online advertising. It is appended to #elementid:hover. |
|
| 20. |
Explain About The Rules Present In Style Sheets? |
|
Answer» A huge list of rules is DEFINED for style sheets. Each rule consists of selectors and declaration block. A declaration block consists of declarations which can be defined and separated by using a SEMICOLON WITHIN curly braces. Also each declaration consists of a COLON, a property and a semicolon. A huge list of rules is defined for style sheets. Each rule consists of selectors and declaration block. A declaration block consists of declarations which can be defined and separated by using a semicolon within curly braces. Also each declaration consists of a colon, a property and a semicolon. |
|
| 21. |
Explain About Some Of The Features Of Css? |
|
Answer» Some of the features used by CSS are to define a layout, colors, fonts, etc. It separates the content from the design part which MAKES the content much more visible THEREBY improving productivity of the entire process. It can make the same PAGE appear in different formats. Some of the features used by CSS are to define a layout, colors, fonts, etc. It separates the content from the design part which makes the content much more visible thereby improving productivity of the entire process. It can make the same page appear in different formats. |
|
| 22. |
What Are Cascading Style Sheets? |
|
Answer» Cascading style SHEETS help the designer in various ways. It primarily helps to design style sheets for CONTENT and HTML pages. It can be APPLIED to any XML document or markup LANGUAGE. Cascading style sheets help the designer in various ways. It primarily helps to design style sheets for content and HTML pages. It can be applied to any XML document or markup language. |
|
| 23. |
What Are The Values That Can Be Taken By Property White-space Of Css3? |
|
Answer» The FIVE VALUES that can be TAKEN by PROPERTY white-space of CSS3 are normal, pre, no wrap, pre-wrap and pre-line. The five values that can be taken by property white-space of CSS3 are normal, pre, no wrap, pre-wrap and pre-line. |
|
| 24. |
How Flexibility Is Achieved More In Css3? |
|
Answer» FLEXIBILITY achieved is in GREATER ratio in CSS3 because of the feature of HANDLING multiple STYLE sheets in CSS3 and because of the modularized APPROACH of CSS3. Flexibility achieved is in greater ratio in CSS3 because of the feature of handling multiple style sheets in CSS3 and because of the modularized approach of CSS3. |
|
| 25. |
What Is The Syntax Of Word Wrap In Css3? |
|
Answer» The general syntax word-wrap PROPERTY of CSS3 is as follows: The general syntax word-wrap property of CSS3 is as follows: |
|
| 26. |
How Is Multi-column Feature Used In Css3? |
|
Answer» By using the Multi-Column feature of CSS3 the web DESIGNERS can get their output in multiple columns with DEFINITIONS defined for each column LIKE column-width, column-count. By using the Multi-Column feature of CSS3 the web designers can get their output in multiple columns with definitions defined for each column like column-width, column-count. |
|
| 27. |
How Do You Manage The Complete Site In Center Of The Browser, Which Is Completely Using Divs Using The Help Of Css2 Or Css3? |
|
Answer» In CSS file In CSS file |
|
| 28. |
What Is The Syntax Of Opacity In Css3? |
|
Answer» style="opacity:0.4;filter:ALPHA(opacity=40)" style="opacity:0.4;filter:alpha(opacity=40)" |
|
| 29. |
What Is Wrapping In Css3? |
|
Answer» Wrapping is a VITAL property for proper display of contents in WEB pages. If wrapping is disabled then the USER COULD not display and view LONG lines that goes outside the window boundary and thus becomes useless. Wrapping is a vital property for proper display of contents in web pages. If wrapping is disabled then the user could not display and view long lines that goes outside the window boundary and thus becomes useless. |
|