How do you detect client side web browser? [closed] - html

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm trying to execute special behavior dependent on which web browser is being used.
I'd prefer a solution in HTML, but a scripting language would be fine too.
The special behavior is pretty minimal and only for safari users.

The navigator object in javascript will do that for you.
Here ya go:
http://www.w3schools.com/js/js_browser.asp

The only solution I'm aware of that only uses HTML code and no JS is conditional comments. It'll be applied by IE9 and below OR IE10+ and non-IE browsers.
In CSS, prefix vendors (like -webkit-some-experimental-property) are there for still experimental properties and non-standard ones.
As a general advice: don't ever try to detect browsers with JS or server-side or one of them will bite you back sooner or later. Explain what your problem really is and you'll probably learn how to do it with another method.

Related

-moz- , -webkit- like other prefixes properties [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
We use specific rules for every browsers like -moz- , -webkit- like this but I couldn't found any site that is providing such tutorial. I have googled but couldn't find. Please anyone know which site is providing such tutorial for prefixes.
I would like to know all about prefixes properties for all browsers. (not only properties but also tutorial about that)
I have searched and found this http://reference.sitepoint.com/css/vendorspecific
This site has provided all the information about what you are looking for.
Have a look at this too http://css-tricks.com/how-to-deal-with-vendor-prefixes/
I have also found this http://cssprefixer.appspot.com/ have fun.
Give this site a look: CSS3Please. It should have all the info you are looking for and more. There is an equivalent website for HTML5 as well HTML5Please, which may also help.
After a little more looking between the two, HTML5Please is more helpful in figuring out what CSS properties need prefixing, and which prefixes to add. CSS3Please is a little more helpful in seeing how the properties themselves are written out in a stylesheet.
This is the official document from w3 on all the vendor prefixes.
If you want a tutorial, google something like css vendor prefix.

Incorrect display in Internet Explorer [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
This is my website
My index.php file is correct in all other browsers except Internet Explorer. I am really confused. I couldnt find the problem. Can someone help me please.
Your website is missing a doctype. Without that it's basically pure luck how it renders in different browser. (Admittedly it still is afterwards, but somewhat less.)
IE is rendering your site in quirks mode, that might explain some of it.
If you wrote about footer then try simply add to your table tag in footer style "float:right;" or your class "fright".

What features of HTML5 can I use right now? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Any suggestions which feature can I use for simple web pages?
It really depends on how advanced you plan on making your website. Generally speaking most of the real browsers (NOT IE) support most of the html 5 elements.
Have a look at http://html5readiness.com/ to see what elements are supported by which browsers.
You can use new HTML5 tags which make markup more semantic. In order to get started right away, use this Initializr - HTML5 templates generator
http://caniuse.com is specifically designed to answer your question.

Firefox displaying extra <strong> tags, but there not in the html source? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
My website in acting stangely while being viewed in firefox so I started debugging and found firefox only is adding extra <strong> tags in my code, all empty?
Any ideas?
http://allia.honestideas.co.uk/
Any time the generated markup differs from the markup retrieved from the server (i.e., the markup you get when doing "View Source"), JavaScript is involved. The only way the structure of the page can be different from the markup you wrote is if JavaScript is making changes.
In this case, the extra <strong> tags all seem to be clustered immediately around the slider markup. I can't find any obvious explanation in slider.js but it's also not a plugin I'm intimately familiar with. Removing slider.js from the page entirely should solve the problem, but of course you then won't have the functionality you want. Perhaps a different plugin can offer the same functionality without the unintended side-effects.
Firefox is not adding anything. If you look at 'view source', there are no strong tags in there. So what debugger are you using? I'd bet the debugger is inserting something.
In firebug, I see a strong syntax in the code
#mainContent strong, #mainContent label
may be this causing some issues. I am not sure too.

What is iframe used for? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
What is the purpose of the iframe tag in HTML? What is it used for?
An <iframe> is used for containing (X)HTML documents in other (X)HTML documents. This enables updates of parts of a website while the user browses, without making them reload the whole thing. (This is now largely replaced by AJAX).
Also, see:
http://w3schools.com/TAGS/tag_iframe.asp
http://en.wikipedia.org/wiki/HTML_element#Frames
Be careful. <iframe> tags are becoming less common.
I wouldn't use iframes except in really specific cases, because it is nonstandard.
here is the link
However, Google images still uses <iframe> tags.