can i use a link to delete something?

normally we use a delete button to delete. can i just use a link, and when i clicked the link, records are deleted?