Name

Methods — NN n/a IE 4 DOM n/a

Synopsis

Read/Write

An advisory attribute about the functionality of the destination of a link. A browser could use this information to display special colors or images for the element content based on what the destination does for the user, but Internet Explorer 4 does not appear to do anything with this information.

Example

document.links[1].Methods = "post"

Value

Any valid HTTP method as a string.

Default

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.