Skip to main content

HTML Guide

Bad value “” for attribute “max” on element “input”: The empty string is not a valid floating point number.

The max attribute on an <input> element does not accept an empty string.

The max attribute defines the maximum value that is acceptable and valid for the input containing the attribute.

Learn more:

Related W3C validator issues