What would you like to know more about?

Element ID Naming Standards

Use the following guidelines when applying id's to reusable content components.

  • Do not use "+" in IDs.

  • Avoid other symbols like ‘ and &.

  • Use all lowercase.

  • Only give an ID to a <section> you're going to reuse on another page.

  • <section>, <p>, and <table> standard: id="section_package_elementtitle".

  • Use _ instead of spaces in page names and section titles.

  • All parts are required for naming except package.

  • Only include package_ when needed; if multiple, combine: "..._cm_…" .

???