FIND YOUR NEXT FEW LINES

Results for “assoc”

Small, practical examples. Search by task or narrow things down below.

16 snippets foundClear filters
HTMLForm behavior

Associate a control outside the form element

HTML: The form attribute links an external named control to the form’s ID.

HTML✓ Tested
HTMLTables & list numbering

Associate a data cell with explicit table headers

HTML: The headers attribute lists header IDs for a more complex cell association.

HTML✓ Tested
HTMLForms

Associate a label with an input

Give an HTML text input an accessible name using for and id.

HTML✓ Tested
HTMLGetting Started

Associate a text field with its label

HTML: Learn how to associate a text field with its label in a complete browser example.

HTML✓ Tested
AngularAccessibility & reusable patterns

Associate a validation message with a field

Associate a validation message with a field with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
HTMLAccessible structure

Associate help text with an input

HTML: aria-describedby references supplementary instructions separately from the input’s name.

HTML✓ Tested
Bash ScriptsFunctions & arguments

Look up values in an associative array

Use named keys for a small in-memory configuration table.

dictionary✓ Tested
Bash ScriptsArray operations

Read an optional associative-array entry

Bash Scripts: Use a fallback expansion when a map key may not be present under nounset.

Bash Scripts✓ Tested
jQueryForm serialization & state

Store an object associated with an element

jQuery: data retains JavaScript values without serializing them into HTML attributes.

jQuery✓ Tested
CSSInteraction selectors

Style content associated with a checked option

CSS: The adjacent-sibling selector connects a checked control with its following label text.

CSS✓ Tested
RustFunctions & data types

Use an associated constructor

Use an associated constructor in a complete Rust program using the standard library.

Rust✓ Tested
Bash ScriptsArray operations

Visit associative-array keys in a stable order

Bash Scripts: Associative arrays have no defined iteration order, so sort their keys explicitly.

Bash Scripts✓ Tested