Свойство | Type | Description | |
---|---|---|---|
$alt | string | Specifies an alternate text for an image | |
$crossorigin | string | Allow images from third-party sites that allow cross-origin access to be used with canvas: anonymous, use-credentials | |
$height | string | Specifies the height of an image | |
$ismap | string | Specifies an image as a server-side image-map: ismap | |
$src | string | Specifies the URL of an image | |
$usemap | string | Specifies an image as a client-side image-map. Values #mapnam | |
$width | string | Specifies the width of an image |
Méthode | Description | |
---|---|---|
__construct ( string $src = '', string $alt = '', string $width = '', string $height = '' ) : WPDKHTMLTagImg | Create an instance of WPDKHTMLTagImg class |
public __construct ( string $src = '', string $alt = '', string $width = '', string $height = '' ) : WPDKHTMLTagImg | ||
$src | string | Optional. Specifies the URL of an image |
$alt | string | Optional. Specifies an alternate text for an image |
$width | string | Optional. Specifies the width of an image |
$height | string | Optional. Specifies the height of an image |
Résultat | WPDKHTMLTagImg |
public string $crossorigin | ||
Résultat | string |
public string $ismap | ||
Résultat | string |
public string $usemap | ||
Résultat | string |