Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > Adobe Dreamweaver

This chapter is from the book

STAYING IN GOOD FORM

Naming conventions are extremely helpful in avoiding common form-processing errors. The trick is to create unique labels for form elements that are instantly identifiable to the developer. My technique is to combine the type of form element with its purpose. For example, I would call a text field for accepting the name of a country countryText—whereas a list element for the same purpose would be countryList. I use mixed case (also known as intercapping) to avoid spaces—a definite no-no in web naming—but this helps keep it legible.

Figure7.10Figure 7.10

  • + Share This
  • 🔖 Save To Your Account