Skip to content

Element Quote by Eric Freeman

“As of HTML5, you are allowed to use all numbers as an element id. As” quote by Eric Freeman
Download Open image
““As of HTML5, you are allowed to use all numbers as an element id. As””

Eric Freeman

About This Quote

Source Documentation: HTML5 Specification, 2008

HTML5 permits any numeric string as an element ID, expanding identifier flexibility.

In simple terms: Numbers can be used as IDs in HTML5.

Key Takeaway

Use numeric IDs where appropriate.

Themes

web development standards flexibility

Mood

technical neutral

Type

educational practical

When to use this quote

  • Form building
  • dynamic scripting
  • accessibility testing

Key Concepts

HTML5 DOM manipulation

Questions to Reflect On

  • When should you avoid numeric IDs?
  • How do IDs affect accessibility?
A Different Perspective

Numeric IDs may cause confusion with CSS selectors; best practices advise descriptive IDs.

3.6 out of 5 (10 ratings)

More by Eric Freeman

Explore all 90 Eric Freeman quotes

More Element quotes

Browse all 318 Element quotes