ALLInterview.com :: Home Page KalAajKal.com
 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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Web Related  >>  HTML DHTML
 
 


 

 
 HTML DHTML interview questions  HTML DHTML Interview Questions
 XML XSLT RSS interview questions  XML XSLT RSS Interview Questions
 Flash Action Scripting interview questions  Flash Action Scripting Interview Questions
 SOAP interview questions  SOAP Interview Questions
 WML interview questions  WML Interview Questions
 Web Related AllOther interview questions  Web Related AllOther Interview Questions
Question
How do I detect what browser is being used?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do I detect what browser is being used?
Answer
# 1
Many browsers identify themselves when they request a
document. A CGI script will have this information available
in the HTTP_USER_AGENT environment variable, and it can use
that to send out a version of the document which is
optimized for that browser.

Keep in mind not all browsers identify themselves correctly.
Microsoft Internet Explorer, for example, claims to be
"Mozilla 1.2" to get at Netscape enhanced documents.

And of course, if a cache proxy keeps the Netscape enhanced
document, someone with an other browser will also get this
document if he goes through the cache.
 
Is This Answer Correct ?    0 Yes 0 No
Guest
 
  Re: How do I detect what browser is being used?
Answer
# 2
BY using javascript, u can get browser details.

window.navigator.userAgent will give browser details.
 
Is This Answer Correct ?    0 Yes 0 No
Vel
 
 
 

 
 
 
Other HTML DHTML Interview Questions
 
  Question Asked @ Answers
 
How do I get my visitor's e-mail addresses?  1
Should I use lower case or upper case for tags?  1
What is the tag Code Base and why do we use it? Microsoft1
How do I redirect someone to my new page?  1
For what screen size should I write?  1
EXPLINE THE HTML? CTS2
Difference between HTML and DHTML? Accenture5
Why is xml:space set to 'preserve' on all elements of XHTML? I don't want to see extra space in my output.  1
Why doesn't XHTML2 use XLink?  1
How do I get a counter?  1
How do I indent a lot of text?  1
Why is XHTML needed? Isn't HTML good enough?  1
How do I hide my source?  1
Why do I have to use these namespace things in XHTML?  1
Why is it allowed to send XHTML 1.0 documents as text/html?  1
Why isn't XHTML2 backwards compatible?  1
How do I get a back button on my page?  1
How can you have different number of cells for each row of a table? Microsoft1
Does Microsoft Internet Explorer accept the media type application/xhtml+xml?  1
What are the types of HTML?  1
 
For more HTML DHTML Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com