I’m not quite sure what the attached shows, sorry. The text system can export to HTML, yes, but Michael is asking for bookmarks within a single text document within Scrivener - he’s not asking about generating such a file. And you can’t assign anchors in the text system, as far as I know.
All the best,
Keith