Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8465883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:10:48+00:00 2026-06-10T15:10:48+00:00

I am an occasional HTML/js developer. Not that I want to say that I

  • 0

I am an occasional HTML/js developer. Not that I want to say that I don’t want to use HTML5.

Here’s my situation:
No matter what I feel, the business requirement needs the behavior to be same across browsers (including IE). I can’t use the “placeholder” in IE as it doesn’t support it. In order to get over the limitation, I write a script which has onFocus(), onBlur() etc.

My javascript will check for Browsers and Versions and then emit appropriate code for placeholder if not supported.

Why don’t I just not use placeholder when I have to write the javascript (for backward compatibility) anyway and it is making my javascript file lighter (by 1 line 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T15:10:50+00:00Added an answer on June 10, 2026 at 3:10 pm

    I would say this is more of a subjective question but, in my opinion, HTML5 is definitely going to be the future. Eventually, things will come and go and there will be fewer and fewer people with older version of browsers, and it’ll be more demanding that you know these options in HTML5 are available for you. It’s simply good practice to implement both of them and not to disregard the other options.

    Furthermore, while it might not be very noticeable in your situation, there are probably things that you can do in HTML5 which are much more optimized for the better browsers as opposed if you were to simply stick with the old fashion way of doing things. The difference in runspeed is probably not significant enough for someone to actually care that much but who knows? In the future, it could be something you’re dealing with. I hope this answers your question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an external HTML source that I want to scrape and either transform
We are running some sites that receive decent traffic and occasional leechers that hog
I'm writing a web app that inserts and modifies HTML elements via AJAX using
I'm using a 3rd party app that uses regex to searches html documents, in
I am a software developer who occasionally write CSS/HTML code. I am currently working
Chrome's Developer Tool reveals this html generated for my panel: <div id=ext-comp-1027 class= x-panel
This is one of those rare occasions that I have had to use conditional
I have a program that does text processing on a html formatted document based
I have a very basic page that displays a dynamic image. Here is my
I have a problem that I want to get different values from different tags

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.