Safari HTML Reference

submited by
Style Pass
2024-05-05 16:00:04

If an attribute is not listed here, it is not supported by Safari and WebKit. The “Related Tags” section of each attribute links to the elements that the attribute directly applies to. If an attribute applies to the vast majority of elements, the “Related Tags” section is omitted. Some attributes are also marked as deprecated, which means they are supported by Safari but, because they are no longer supported by the HTML specification, are not guaranteed to be supported in the future. Attributes marked as obsolete are no longer supported in Safari.

If the autocapitalize attribute is present but no value is specified (as in <input autocapitalize>), the default value is sentences. If the autocapitalize attribute is not present, the default value is sentences for form and none for input elements with type set to password as in <input type="password">. For all other form controls, the default value is inherited from the enclosing form element.

For example, in the following code fragment, the autocapitalize attribute values for the first-name and last-name input elements default to words which is inherited from the form element:

Leave a Comment