Can I expand/collapse a field in an HTML view?

Can I expand/collapse a field in an HTML view?

It seems that javascript isn't permitted.  With javascript, I could make an HTML View which allowed the user to hide or show a large field by clicking on a button.  Is there another way to accomplish this?