Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 974 Bytes

iframe.md

File metadata and controls

41 lines (29 loc) · 974 Bytes

HAPEL Core Method Reference


<iframe ...>

Description

Creates an <iframe> html tag.

iframe($src, $name, $class, $id, $style, $data, $attr);

Parameters

Parameter Required Default
$src no null
$title no null
$class no null
$id no null
$style no null
$data no null
$attr no null

Return Values

string

Example

Usage:

echo iframe('https://remove-host.com/file.html','Remote File', 'my-iframe');

Result:

<iframe src="https://remote-host.com/file.html" title="Remote File" class="my-iframe"></iframe>