I am using a few page validation tools one problem i have is they tell me textarea must have rows and cols attribute. If i am setting this in CSS or using display:none (and
David's answer is ultimately the right one. A quick note about required attributes, though: Many attributes are required to be present, but are not required to have a value - so is perfectly valid.
Semantically, think of this as explicitly not specifying the rows or cols, which is different to which is just ignoring the attributes completely.