ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Scripts >> PHP
 
 


 

 
 PHP interview questions  PHP Interview Questions (658)
 ASP interview questions  ASP Interview Questions (251)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (174)
 VB Script interview questions  VB Script Interview Questions (342)
 JSP interview questions  JSP Interview Questions (100)
 Shell Script interview questions  Shell Script Interview Questions (158)
 Python interview questions  Python Interview Questions (5)
 Tcl interview questions  Tcl Interview Questions (19)
 Awk interview questions  Awk Interview Questions (6)
 AJAX interview questions  AJAX Interview Questions (24)
 Ruby on Rails interview questions  Ruby on Rails Interview Questions (21)
 Scripts AllOther interview questions  Scripts AllOther Interview Questions (48)
Question
What are the advantages and disadvantages of Cascading 
Style Sheets?
 Question Submitted By :: PHP
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
Advantages and Disadvantages
Greater Control. Style sheets allow far greater control
over the appearance of a document. Many different elements
can be defined and customised, including margins, indents,
font size, line and letter spacing. In addition, elements
can be positioned absolutely on the page.

Separation of Style and Content. By ensuring that the style
and content of a document are kept separate, data is kept
more coherent. In this way, as technologies such as XML and
databases increase, there will be more scope for
integration of existing HTML documents.

Accessibility. Similarly, with the separation of style and
content, documents are made more accessible to those with
disabilities. When style sheets are used, software such as
screen-readers are less likely to be confused by spurious
code. For further information on accessibility issues,
please refer to the W3C's page on the Accessibility
Features of CSS.

Smaller Documents. Because all tags or properties need only
be defined once within a document, or even within a
separate document, filesize can be reduced considerably.

Easier Site Maintenance. As it is possible to link many
pages to one individual style sheet, any sitewide changes
can be made by simply changing the one file that the pages
link to, instead of all the individual files.

Browser Support. This is the one major drawback to style
sheets. They are only supported at all by IE 3 and above
and Netscape 4 and above, but even then, the way in which
the two browsers interpret them can vary considerably.
However, older browsers will still display your website,
simply ignoring the elements they do not understand.
 
Is This Answer Correct ?    17 Yes 5 No
Rakesh Kumar Nautiyal
 

 
 
 
Other PHP Interview Questions
 
  Question Asked @ Answers
 
Is md5() is breakable if yes than how?   1
how can we check mail function with '127.0.0.1' (before submitting a site?   1
What is meant by nl2br()? Rushmore-Consultancy 4
write the prime number of program?in php TCS 2
How can we submit a form without a submit button? What is the use of obj_star? Rushmore-Consultancy 2
what method is used to generate a random number?   4
how to do connectivity of 2 dbs in PHP script? TCS 3
What are the different types of Errors in PHP? Troop-Software 18
Without using forms and hidden variables, how to send variables from a PHP script to another URL using POST method?   2
I just installed php 5.3.1 in my linux server and now my old work which i used to write with tags is not working at all.. Please help me out.. How can i resolve this??   1
What is the exact Diff. between include_once() and require_once() in PHP?   12
If anybody integrate "First Data Global Payment Gateway" in your site?   2
 
For more PHP Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com