Case conventions on element names?

前端 未结 10 1722
予麋鹿
予麋鹿 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:38

    Google's style guide recommends (perhaps even mandates) camelCase for all element names, as well as attribute names.

提交回复
热议问题