HTML 5: The Markup Language (ARIA Edition)

input type=weekyear-and-week input control # T

The input element with a type attribute whose value is "week" represents a control for setting the element’s value to a string representing a week.

Content model #

Attribute model #

Element-specific attributes #

type = "week"
Specifies that its input element is a control for setting the element’s value to a string representing a week.
min = week
The expected lower bound for the element’s value.
max = week
The expected upper bound for the element’s value.
value = week
A string representing a week.

Assertions #

Tag omission #

The input element is a void element. An input element must have a start tag but must not have an end tag.

Permitted contexts #