Build a Better Mobile Input

By properly configuring a few key input attributes, you can make web forms much easier to use on mobile devices.

Experiment with different combinations of the related type and inputmode attributes, and make sure to specify an autocomplete attribute for an optimized user experience.

edit me
This input will autocomplete with the value: sex

A gender identity (such as "Female", "Fa'afafine", "Male"), as freeform text without newlines.

keyboard (ios) or modal (android) for choosing month and year