Property | 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 |
Method | 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 |
return | WPDKHTMLTagImg |
public string $crossorigin | ||
return | string |
public string $ismap | ||
return | string |
public string $usemap | ||
return | string |