I think you may have a concept reversed here. Neither class names or IDs can accept a name with a dot in it, for example `f.name`. And although the name attribute is CDATA and can accept spaces within a string, this is typically considered bad practice. 

There are also some code issues. Missing quotes on attributes and other incorrect usages. You are using the `for` attribute and not a corresponding `id` in accompanying `<input>`. I would redo this in the following way:

```
<label for="fname">First Name</label>
<input id="fname" name="f.name" type="text" placeholder="First Name" required autofocus>
```