Is there a way to create your own html tag in HTML5?

后端 未结 18 1785
情歌与酒
情歌与酒 2020-11-22 07:39

I want to create something like


    
        aaa
        bbb
    
          


        
18条回答
  •  孤独总比滥情好
    2020-11-22 08:12

    As Nick said, custom tags are not supported by any version of HTML.

    But, it won't give any error if you use such markup in your HTML.

    It seems like you want to create a list. You can use unordered list

      to create the rool elements, and use the
    • tag for the items underneath.

      If that's not what you want to achieve, please specify exactly what you want. We can come up with an answer then.

提交回复
热议问题