Fixed HTML5 validator errors

- Generated code is now fully compliant
- Fixed DIVs
- Fixed CSS
- Fixed attributes of <input> (functions.php)