MDN self-hosted library · e01.org

`min` HTML attribute

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

css
input:invalid {
  border: solid red 3px;
}
html
<input id="myNumber" name="myNumber" type="number" min="7.2" value="8" />