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

  • Home
  • SEARCH
  • 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 6786273
In Process

The Archive Base Latest Questions

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

What does the HTML spec say about using enter key to submit a form?

  • 0

What does the HTML spec say about using enter key to submit a form?

I’ve read http://www.w3.org/TR/html4/interact/forms.html but nothing there about submitting a form using the enter key.

Is it even defined somewhere or is it just the way most browsers have implemented it on their own and it became the way to do it?

I’m curious because I just asked a question regarding Webkit not submitting my form if the submit button is hidden (display: none).

Trying to 'submit' my form when hitting enter fails

So is there somewhere in the official docs a reference to the behavior of the enter key in a form?

  • 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-26T17:13:33+00:00Added an answer on May 26, 2026 at 5:13 pm

    The HTML standard is device-agnostic; HTML user agents run on a variety of platforms, many of which (think search engine, voice reader, webscraper) do not have a keyboard in the first place. Therefore, the standard does not say how a user can toggle the form submission. Listing all possible ways to submit a form is impossible, since many devices and user interaction mechanisms are not invited yet – iOS 6 may allow you to submit a form by saying “Submit Form!”.

    The Webkit behavior you’re seeing is up to the discretion of Webkit and likely unintentional. The standard does not say anything about a submit button being necessary in the submission process.

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

Sidebar

Related Questions

Does Safari have anything equivalent to the HTML 5.0 spec for window.navigator.online? http://www.whatwg.org/specs/web-apps/current-work/#browser-state If
In HTML5, the object element now has a form attribute. http://dev.w3.org/html5/spec/Overview.html#attr-fae-form This attribute associates
Ryan Bates' nifty_scaffolding, for example, does this edit.html.erb <%= render :partial => 'form' %>
the jvm spec version 2: http://java.sun.com/docs/books/jvms/second_edition/html/VMSpecTOC.doc.html seems quite old. java has been release new
I'm using a fun HTML special-character (✰)(see http://html5boilerplate.com/ for more info) for a Server
I started using a diagnostic css stylesheet, e.g. http://snipplr.com/view/6770/css-diagnostics--highlight-deprecated-html-with-css--more/ One of the suggested rules
Does HTML's data attribute work in IE6? I'm using the attribute like this <img
Does the HTML select element have an on select event? what exactly is the
Does filling out HTML meta description/keyword tags matter for SEO?
Does anyone know how to stop jQuery fromparsing html you insert through before() and

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.