Property | Type | Description | |
---|---|---|---|
$for | string | Specifies which form element a label is bound to. Value: element_id | |
$form | string | New in HTML 5. Specifies one or more forms the label belongs to. Value: form_id |
Method | Description | |
---|---|---|
__construct ( string $content = '' ) | Create an instance of WPDKHTMLTagLabel class |
public __construct ( string $content = '' ) | ||
$content | string | HTML inner (or adjacent) content |
public string $for | ||
return | string |
public string $form | ||
return | string |