单项选择题

W3C定义用来阻止a标签默认事件的方法是()。

A.e.preventDefault()
B.e.cancelBubble =true
C.e.stopImmediatePropagation()
D.e.stopPropagation()