프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
__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 |
리턴 | WPDKHTMLTagImg |
public string $crossorigin | ||
리턴 | string |
public string $ismap | ||
리턴 | string |
public string $usemap | ||
리턴 | string |