A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/en-US/docs/Web/API/HTMLFormElement/rel below:

HTMLFormElement: rel property - Web APIs

HTMLFormElement: rel property

Baseline 2023

Newly available

The rel property of the HTMLFormElement interface reflects the rel attribute. It is a string containing what kinds of links the HTML <form> element creates, as a space-separated list of enumerated values.

To retrieve the value as an array of tokens, use HTMLFormElement.relList.

Value

A string.

Examples
const form = document.querySelector("form");
console.log(form.rel);

form.rel = "noopener noreferrer";
Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4