FIND YOUR NEXT FEW LINES

Results for “od”

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

740 snippets foundClear filters
HTMLData & disclosure

Label a data table

Use a caption and scoped headers for an HTML data table.

HTML✓ Tested
HTMLGetting Started

Let a user choose a yes or no value

HTML: Learn how to let a user choose a yes or no value in a complete browser example.

HTML✓ Tested
HTMLInput constraints

Limit a numeric input to an inclusive range

HTML: Number inputs expose range validation separately from the entered text.

HTML✓ Tested
HTMLInput constraints

Limit typed text to a maximum length

HTML: Maxlength limits ordinary user editing without replacing server-side validation.

HTML✓ Tested
HTMLMetadata & document links

Link a document’s alternate language version

HTML: Use hreflang on an alternate link to declare the language of another page.

HTML✓ Tested
HTMLLinks & accessibility

Link to a page section

Use a fragment link to target an HTML section on the same page.

HTML✓ Tested
HTMLGetting Started

Link to a section on the same page

HTML: Learn how to link to a section on the same page in a complete browser example.

HTML✓ Tested
JavaScriptObject behavior & collections

List an object’s own enumerable keys

JavaScript: Object.keys omits inherited and non-enumerable properties.

JavaScript✓ Tested
TypeScriptObject behavior & collections

List an object’s own enumerable keys

TypeScript: Object.keys omits inherited and non-enumerable properties.

TypeScript✓ Tested
GitInspecting the working tree

List newly added staged files only

Git: Filter the cached diff by added status while leaving modified files out.

Git✓ Tested
JavaFile operations & binary data

Load a small properties configuration

Java: Use a Reader to make the configuration character encoding explicit.

Java✓ Tested
HTMLForm behavior

Make an unavailable select option unselectable

HTML: A disabled option remains visible but cannot be selected through normal keyboard navigation.

HTML✓ Tested