You are here: Reference > HTML > attributes > methods (a)

methods attribute (a)

Browser support:
Specifies a comma-separated list of HTTP METHODS supported by the object and accessible to the user.
This attribute is poorly supported by browsers and was never used much in HTML documents.
JavaScript page for this attribute: Methods. You can find other example(s) there.

Possible values:

String that sets a comma-separated list of HTTP methods.
The list of the possible methods:
OPTIONS
Represents a request about the available communication options.
GET
Retrieves information.
HEAD
Retrieves information without message-body.
POST
Posts information.
PUT
Stores entity under the specified Request-URI.
DELETE
Deletes resource from the specified Request-URI.
TRACE
Gives an advice from the sent request message.
CONNECT
Switches proxy to a tunnel (SSL).
Default: this attribute has no default value.

Example HTML code 1:

This example illustrates the use of the Methods attribute:
<a methods="OPTIONS, PUT">
Did you find this example helpful? yes no

Supported by tags:

External links:

User Contributed Comments

Post Content

Post Content