HTML Tutorial

Coming Tutorials

>Home> HTML Tutorial> Form

HTML Tutorial

Coming Tutorials



How do i make a form that can be submitted by just pressing enter button.

<input type="submit" name="update" value="Apply" style="position: absolute; height: 0px; width: 0px; border: none; padding: 0px;" hiefocus="true" tabindex="-1"/>

The 'tabindex' attribute is used to define the sequence of element after pressing Tab button.

-1 value means removing from the tab sequence.

Share the article to help your friends