Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__construct ( string $content = '' ) | Create an instance of WPDKHTMLTagLabel class |
public __construct ( string $content = '' ) | ||
$content | string | HTML inner (or adjacent) content |
public string $for | ||
Результат | string |
public string $form | ||
Результат | string |