Skip to main content
methods attribute | Methods property

Sets or gets the list of HTTP methods supported by the object.


HTML<element methods="p" ... >

p = object.Methods


Property values

Type: String

the comma-separated list of HTTP methods supported by the object for public use.


When the HTTP protocol is used, these methods are given more accurately by the protocol. However, for reasons similar to those for the title property, it can be useful to include the information in advance in the link. The HTML user agent can choose a different rendering as a function of the methods that are allowed. For example, if an object has a method that supports searching, an icon denoting this can be rendered.

See also