pushTag.HtmlPrintStream: Prints a HTML tag with attributes and puts the tag name on...

Description Usage Arguments Value Author(s) See Also

Description

Prints a HTML tag with attributes and puts the tag name on the tag stack. Later the pushed tag can be retrieved and printed to the stream by calling popTag(). All attribute values are automatically escaped and quoted.

Usage

1
2
## S3 method for class 'HtmlPrintStream'
pushTag(this, tag, ..., attributes=NULL, newline=TRUE)

Arguments

tag

The name of the HTML tag.

...

Named argument values whose names are used as attribute names and whose values are used as attribute values. The values of the unnamed arguments will be printed after the first tag (in the body of the tag).

attributes

Similar to ... this argument provides a way of specifying attributes. Useful, if other methods calls this method.

Value

Returns nothing.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

*escape(). *popTag() and *printTag().


HenrikBengtsson/R.io documentation built on May 6, 2019, 11:54 p.m.