Add Attributes formAction, formEncType, formMethod and formTarget

This resolves #2425.