Security headers in htacces

Can LiteSpeed interpret the following if added to my htaccess file?

<IfModule mod_headers.c>  Header set X-XSS-Protection "1; mode=block" </IfModule>

<IfModule mod_headers.c>  Header set X-Content-Type-Options nosniff </IfModule>

If so, how can I verify it is working via looking at the page source? What should I be looking for?

If not, what is the correct codes to use in htaccess for LiteSpeed?