浏览器把未知标签当普通行内元素,内容照常显示,但没有行为。
customElements.define("hello-name", HelloName) 会让已存在的元素立即升级。
customElements.define("hello-name", HelloName)