0
PROBLEM: Is there any way to stop it scrolling up every time I click Change Log or Helped By?
6 Réponses
+ 3
just remove the href attribute it will stop that
+ 1
Oh thanks. But isn't it weird to have an 'a' tag without any kind of href/link?
+ 1
it is perfectly valid and it is considered for a placeholder hyperlink
https://www.w3.org/TR/2016/REC-html51-20161101/textlevel-semantics.html#the-a-element
+ 1
Btw I'm gonna include you on Helped By section
+ 1
the anchor tag is okay and works. if you want, do check span and choose the one which works better for your use case.
0
Is it better to use 'span' instead of 'a'? I think it fits better.