
HTML Form input type attribute autofocus does not work in Preview
But if I choose your option to preview in Safari, it works correctly.
I can’t post the code here because it’s an HTML form code example in the HTML Tutorial on W3Schools.com
But here’s a link to the code example, under Try it Yourself>>
Curiously, their Radio Button example included extra characters on each side of the radio buttons, so I added the missing <meta charset=“UTF-8”> tag and that “fixed” it.
The first thing I tried with this Preview issue, was add the <meta charset=“UTF-8 lang=EN-US” and it made no difference.
I added the missing <head> and <title> tags, too, but still the input type autofocus attribute did not work in Preview.
A minor surprise, I’ll call this finding, but certainly not a show stopper. 🤔 😎
Customer support service by UserEcho