So from this question, its two answers so far [as of 2012-03-11 16:12] and their votes I take it that search keywords in the
<sub> form at the end of a posting are not favored by the community.
I would be curious about where you see the disadvantages (I couldn't find any in your writings, only opinions and alternatives, which is fine). I figure you see it as distracting non-helpful clutter for the reader who has already found the respective thread? To alleviate that, I made them small and put them at the end after a double blank line.
Taking that idea further, one could attempt to make them entirely invisible to the browsing user – akin to the deprecated HTML
<meta> tag. But that fact, that the keywords tag has been abandoned, admittedly suggests that similar approaches, with the same intention, are not a good idea either (anymore).
Well, now I'm curious whether it would work in principle at least, so here's testing a few ideas :
- (1 pixel) image: → ←
- unused parameter:
- optional title
Preliminary result: StackExchange search indexes none of these 5 text locations.
Now we have to wait a little bit until Google has reindexed this page. Search links for "2016-12-05_post_indexed":
https://www.google.com/search?q=2016-12-05_post_indexed and https://meta.stackexchange.com/search?q=2016-12-05_post_indexed
Any other ideas?
Shortcomings of tags as substitutes for search keywords, as perceived by me:
- There's a max of 5 per question.
- They are not so well suited for (potential search) phrases of several words.
- They are meant only for important concepts, not alternative formulations (possibly specific to the post) etc..
Not-working attempts at hiding text
- Background (white) colored text: That HTML code would be stripped by StackExchange.
The following approach used to work as of 2012. It doesn't anymore (as of 2016).
I had written:
[O]ne could make [the search keywords] effectively invisible by
could make them much smaller so that they're not readable anymore, but
the strange looking result might possibly prove even more
Having the browser zoom at 100%, the text disappeared with 15
for me. To make sure, one could go for 30. Sounds crazy, but why not?
Now the 4th+
<sub>s fail to further shrink the text. (Chrome version 54.)
Doesn't work: HTML comment
<!-- … -->
I wrote in 2012:
Another option would be an HTML comment. With this answer post, I
will test if Google and the SO search will pick that up:
<-- Invisible HTML comment is invisible (except in the source code)!)
Result: Neither Google nor StackExchange search index it.