Case conventions on element names?

前端 未结 10 1723
予麋鹿
予麋鹿 2020-12-02 18:00

Are there any formal recommendations on element casing in XML?

I know XHTML uses lowercase element names (as opposed to HTML which canonically uses uppercas

10条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 18:41

    Not that it matters, but I've always been partial to PascalCase for Elements and camelCase for attributes:

    
      
        
      
    
    

提交回复
热议问题