Is it allowed (and also consumed correctly by google) if I add HTML markup in my FAQ structured data? or should we strip out all HTML markup like
etc..? How will content with markup be shown in the google search results? example:
Webmasters Stack Exchange is a question and answer site for webmasters. It only takes a minute to sign up.Sign up to join this community
HTML in the answer text is fine.
If you check the official documentation from Google, you will see that they actually use
b tags themselves in some of the example code.
A common SEO trick is actually to include hyperlinks (a tag) in the answer. Google will display them in the search results!
Google will display the following HTML elements in the search results:
So basically (sub)headlines, lists, links, bolding, italics, and paragraphs.
All other HTML will simply be ignored: tags like