HtmlForgeX

API Reference

Enum

HtmlBooleanAttribute

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Native HTML attributes whose presence represents a true value and whose absence represents false.

Inheritance

  • Enum
  • HtmlBooleanAttribute

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Values

public const HtmlBooleanAttribute AllowFullScreen #

Allows an iframe to enter fullscreen mode.

Value: 0
public const HtmlBooleanAttribute AllowPaymentRequest #

Allows an iframe to use the Payment Request API.

Value: 1
public const HtmlBooleanAttribute Alpha #

Enables alpha-channel handling on supporting elements.

Value: 2
public const HtmlBooleanAttribute Async #

Loads a script asynchronously.

Value: 3
public const HtmlBooleanAttribute AutoFocus #

Focuses the element when the document loads.

Value: 4
public const HtmlBooleanAttribute AutoPlay #

Starts media playback automatically.

Value: 5
public const HtmlBooleanAttribute Checked #

Marks a selectable control as checked.

Value: 6
public const HtmlBooleanAttribute Controls #

Displays media playback controls.

Value: 7
public const HtmlBooleanAttribute Credentialless #

Loads an iframe in a credentialless context.

Value: 8
public const HtmlBooleanAttribute Default #

Marks a track as the default track.

Value: 9
public const HtmlBooleanAttribute Defer #

Defers script execution until parsing completes.

Value: 10
public const HtmlBooleanAttribute Disabled #

Disables the element.

Value: 11
public const HtmlBooleanAttribute DisablePictureInPicture #

Disables picture-in-picture for media.

Value: 12
public const HtmlBooleanAttribute DisableRemotePlayback #

Disables remote playback for media.

Value: 13
public const HtmlBooleanAttribute FormNoValidate #

Bypasses form validation for the associated submit control.

Value: 14
public const HtmlBooleanAttribute Inert #

Makes the element and its descendants non-interactive.

Value: 15
public const HtmlBooleanAttribute IsMap #

Marks an image as a server-side image map.

Value: 16
public const HtmlBooleanAttribute ItemScope #

Declares the element as a microdata item.

Value: 17
public const HtmlBooleanAttribute Loop #

Loops media playback.

Value: 18
public const HtmlBooleanAttribute Multiple #

Allows multiple values or selections.

Value: 19
public const HtmlBooleanAttribute Muted #

Mutes media audio.

Value: 20
public const HtmlBooleanAttribute NoModule #

Prevents a script from running in module-capable browsers.

Value: 21
public const HtmlBooleanAttribute NoValidate #

Disables form validation.

Value: 22
public const HtmlBooleanAttribute Open #

Marks a disclosure widget or dialog as open.

Value: 23
public const HtmlBooleanAttribute PlaysInline #

Requests inline video playback.

Value: 24
public const HtmlBooleanAttribute ReadOnly #

Makes a form control read-only.

Value: 25
public const HtmlBooleanAttribute Required #

Marks a form control as required.

Value: 26
public const HtmlBooleanAttribute Reversed #

Reverses the numbering order of an ordered list.

Value: 27
public const HtmlBooleanAttribute Selected #

Marks an option as selected.

Value: 28
public const HtmlBooleanAttribute ShadowRootClonable #

Makes a declarative shadow root clonable.

Value: 29
public const HtmlBooleanAttribute ShadowRootCustomElementRegistry #

Uses a custom element registry for a declarative shadow root.

Value: 30
public const HtmlBooleanAttribute ShadowRootDelegatesFocus #

Delegates focus from a declarative shadow root.

Value: 31
public const HtmlBooleanAttribute ShadowRootSerializable #

Makes a declarative shadow root serializable.

Value: 32