A RetroSearch Logo

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

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/writingsuggestions below:

writingsuggestions - HTML: HyperText Markup Language

writingsuggestions

Limited availability

The writingsuggestions global attribute is an enumerated attribute indicating if browser-provided writing suggestions should be enabled under the scope of the element or not.

Some browsers provide writing suggestions to users as they type in editable fields. Suggestions usually appear as greyed-out text positioned after the text cursor, completing the user's sentence. While this can be helpful to users, developers might want to turn writing suggestions off in some cases, such as when providing site-specific writing suggestions.

The writingsuggestions attribute can be set on editable fields such as <input> or <textarea> elements, or on other HTML elements to control the behavior of the browser's suggestions on sections of a page, or on the entire page.

Syntax

In browsers that support them, writing suggestions are enabled by default. To disable them, set the writingsuggestions attribute's value to false. Setting the attribute's value to true, or omitting the value, enables writing suggestions.

To disable writing suggestions:

<input type="text" writingsuggestions="false" />

To enable writing suggestions:

<input type="text" />
<input type="text" writingsuggestions />
<input type="text" writingsuggestions="true" />
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.3