h1 tag in a page. I do not want to display it to user but want to make sure that its content will be used for SEO. What is recommended way of achieving it these days. I can think of:
- in css:
position absolute; left: -99999em;
visibility: hidden;(even though it still exists in flow of document)
As far as I know 1,2,3 will be easily detected by Google and penalised accordingly, is that right? Would 4 be the only option not resulting in being penalised? What other options are available and safe to use?
BTW I'm not trying to trick user or search engines in any way, it just happens that
h1 is in a way and need to get rid of it.