js追加标签
function AddEle() {
// 创建一个标签,将标签添加到指定标签里面
var tag=document.createElement('span');
tag.setAttribute('id','checktype');
tag.style.fontSize='19px';
tag.style.color='red';
// var p =document.createElement('p');
// p.appendChild(tag)
document.getElementById('urlTip').appendChild(tag)
}