Use Html::element() to build the links used in 'alphaindexline' message

It makes the code more readable.

Change-Id: I42e566188e826bd81881c83c069c9f75f5906d73
Merge "Use Html::element() to build the links used in 'alphaindexline' message"