Code folding not working in Kate for <form> tags

Hi everyone, how can I get Kate to do code folding for HTML <form> and <fieldset> tags? What configuration file can I edit?
Is it possible to fold the switch - case structure of javascript? fold the “case”?

Thanks!