HTML::tag¶
Description¶
Queries, removes HTML tag and appends/prepends string to it.
Syntax¶
HTML::tag append <data>
HTML::tag name
HTML::tag prepend <data>
HTML::tag remove
HTML::tag append <data>¶
- Insert a string after the closing delimiter of the HTML tag; when multiple appends are issued, the inserted strings are ordered according to the sequence of the append commands as they are issued for the given tag.
HTML::tag name¶
- Return HTML tag name, where name is the HTML element if the tag is a start tag, and if the tag is an end tag, tag name returns “/” + the HTML element.
HTML::tag prepend <data>¶
- Insert a string before the opening delimiter of the HTML tag; when multiple prepends are issued, the inserted strings are ordered according to the sequence of the prepend commands as they are issued for the given tag.