Bootstrap为这些a之类元素都绑定上了事件,而终止了链接默认行为。data-toggle指以什么事件触发,常用的如modal,popover,tooltips等,data-target指事件的目标,一起使用就是代表data-target所指的元素以data-toggle指定的形式显示