FOD element identification standard

Asked

Viewed 36 times

1

What is the pattern of HTML identifier names , ex :

 <form id="alterar-nome-form" th:action="@{/conta/alterarnome}" th:method="put">
 </form>

Or

 <form id="alterarNomeForm" th:action="@{/conta/alterarnome}" th:method="put">
 </form>

There are other standards ?

1 answer

2


there is no conversion of names to HTML, but you can decide to follow some set of recommendations, as this done by Google

If we follow the example above, then the correct one would be alterar-nome-form

  • google is a great example , thanks for the reply

Browser other questions tagged

You are not signed in. Login or sign up in order to post.