You may want to create a website in the latest technology stack that works perfectly in all browsers. But when you open it on Internet Explorer you shout “What a holy shit! The site is not working at all”. The problem is with the Internet Explorer which Microsoft has ended its support.
How you may detect which browser it is? Detect Internet Explorer
Using this code you can detect the browser and can display an alert message to change the browser.