How to apply CSS styles only to some HTML elements in the form?