Moved form element attr constants into settings.

Moved the constants used to defined HTML form elements into the
settings file.