I implemented the common "read more button" function with this plug-in ↓


The question I was interested in was "Why is the a tag?"

By the way, I see that the a tag is also used for the "scroll button to return to the top of the screen".

Why is it an a tag even though it does not change pages?
I think the button tag is fine, but is there any reason why the a tag is more suitable?

  • Answer # 1

    Is there any reason why the a tag is more appropriate?

    There is nothing in particular.
    It depends on what kind of decoration you want, but since the a tag is mostly raw text, I personally think that the decoration is easy depending on the requirements.

    The rest seems to be the specifications of the plug-in (probably it doesn't work if you just change the tag), so there may be some idea of ​​the creator.