May I ask, an <a> tag to do what?
IF that page is produced using a Moodle renderer (most are but you should check) then you can override the renderer in a custom theme. That's probably the "easiest" way. See, https://docs.moodle.org/dev/Overriding_a_renderer