Equivalent link_to in HTML

If you want to use href in HTML instead of link to. It's equivalent link_to in Rails.

And if you want to use method you must use data-method in a tag.