1
<p><a id="mifengjc" type="text/html" href="https://www.mifengjc.com">蜜蜂教程</a></p>
2
<script>
3
document.write("返回链接的type属性值:");
4
document.write(document.getElementById("mifengjc").type);
5
</script>
<p><a id="mifengjc" type="text/html" href="https://www.mifengjc.com">蜜蜂教程</a></p>
<script>
document.write("返回链接的type属性值:");
document.write(document.getElementById("mifengjc").type);
</script>