Module function reference

open

A reference entry for open

Module function · HTML

open open (string name[, map attributes]) ⇒ string

Creates an opening HTML tag.

Example

YASS
$html = HTML::open("section", ["id" => "intro"])

Input: name="section", attributes=["id" => "intro"]

Output: <section id="intro">