For example, in the previous example, an HTML element containing ``Search Results" can be used as an anchor.
How to say it so that "example" doesn't repeat?
For example, in the previous example, an HTML element containing ``Search Results" can be used as an anchor.
How to say it so that "example" doesn't repeat?
You can just omit "for example" altogether. If you start the sentence by referring to the previous example, it's immediately clear that you're talking about an example, not a universal case.
In the previous example, an HTML element containing ``Search Results" can be used as an anchor.