FIND YOUR NEXT FEW LINES

Results for “mode”

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

269 snippets foundClear filters
HTMLLinks & accessibility

Name an icon button

Give a button containing only a symbol an accessible name.

HTML✓ Tested
HTMLAccessible structure

Name complementary content

HTML: Aside identifies supporting content related to the main document.

HTML✓ Tested
AngularComponents & communication

Normalize an input with a transform

Normalize an input with a transform with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
HTMLMetadata & document links

Offer a downloadable text file

HTML: The download attribute supplies a filename for this same-document data URL.

HTML✓ Tested
HTMLForms

Offer a selection list

Provide a labeled HTML select with a default option.

HTML✓ Tested
HTMLText semantics

Offer an optional break inside a long label

HTML: Wbr supplies a potential line-break opportunity without inserting a visible hyphen.

HTML✓ Tested
HTMLLinks & accessibility

Open a link in a separate tab

Declare a separate browsing context with an explicit noopener relationship.

HTML✓ Tested
HTMLNative disclosure & dialogs

Open and close a modal dialog

HTML: showModal places a dialog in the top layer and makes the rest of the document inert.

HTML✓ Tested
AngularLists & control flow

Page through a collection

Page through a collection with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
PythonIteration & sequences

Pair corresponding list items

Python: Zip two equally sized sequences into pairs; strict mode rejects mismatched lengths on Python 3.10 or later.

Python✓ Tested
HTMLDocument structure

Pair terms and descriptions

Use a description list for a small HTML glossary.

HTML✓ Tested
AngularGetting Started

Pass a value to a signal input

Pass a value to a signal input with a standalone Angular component and explicit browser behavior.

Angular✓ Tested