【发布时间】:2021-10-14 23:47:29
【问题描述】:
我想在 html 中创建自定义标签来做一些事情,比如有没有办法将 html 和 css div 转换为标签?
.me {
width: 100px;
height: 100px;
background-color: red;
}
<div class="me"></div><br>
<p>Make the above div a "redbox" tag or something</p>
【问题讨论】:
-
你先谷歌了吗?
-
这能回答你的问题吗? How to create custom tags for html