Home >Web Front-end >HTML Tutorial >Please summarize what identifiers should be used as separators in various places in HTML/CSS_html/css_WEB-ITnose

Please summarize what identifiers should be used as separators in various places in HTML/CSS_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:19:081326browse

This post was last edited by ytldhd on 2013-02-26 17:14:29

I remember that it is recommended to use a minus sign for id and class. But what is the separator for the name of the form?

Reply to the discussion (solution)

Camel case or underscore

There is no support for - sign. This is too easy to be confused with the four arithmetic operations. It must be separated.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn