单项选择题

a标签的href属性会让a标签点击时跳转页面,怎么阻止这种行为?()

A.preventDefault()
B.stopPropagation()
C.type=true
D.以上都不对