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 6348553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:26:32+00:00 2026-05-24T21:26:32+00:00

This question is moot – see @Alochi comments. my bad. This is different than

  • 0

This question is moot – see @Alochi comments. my bad.

This is different than button in that button is a defined tag in the specs, whereas other types, date, tel, password, hidden, ..., are not but in practice can be used to create html. (this is the best link I can find).

from my experiments, on modern browsers the following are equivalent:

a = document.createElement('input');
a.type = 'date';
b = document.createElement('date');

a and b render the same and have the same attributes. wrong!! do not render the same

the big difference is that querySelector is strict – even though date might be equivalent to input[type='date'] functionally, an element created with date will not be found with input[type='date'] and vice versa.

in dealing with these guys it seems like we’re going to need two sets queries if we’re looking for them – or is there some superset that makes it easier?

is this a case where implementers are outrunning the specs? it seems they are migrating all of the types to their own element, much like they did with button for example.

(assuming one does not care about legacy browsers) are there any guiding principles here?

  • 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-05-24T21:26:33+00:00Added an answer on May 24, 2026 at 9:26 pm

    Where did you get that about the date tag from?

    There is no such tag, look:

    • http://www.w3schools.com/html5/html5_reference.asp

    • http://dev.w3.org/html5/spec/Overview.html

    in the “block level semantics”, there is only time, in the section about forms, there is input type="date", as well as tags like button, keygen and meter

    but no <date> anywhere.

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

Sidebar

Related Questions

This question is a bit different than most. My code works but I don't
This question is related to this post but I don't see how I can
This question comes from a range of other questions that all deal with essentially
This is a moot question as I'm not on this project any more, but
This question is similar to this question , bit the big difference is that
This question , has an accepted answer that only redirects the out command to
This question has been asked before but that was three years ago and Microsoft
This question is based on a previous , but that's just FYI. I've managed
This question is kind of an add-on to this question In C#, a switch
This question and answer shows how to send a file as a byte array

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.