buildHTML

Write HTML elements to an output range.

  1. HTML buildHTML(T range)
    @safe
    buildHTML
    (
    T
    )
    (
    ref T range
    )
    if (
    isOutputRange!(T, char)
    )
  2. TextHTML buildHTML()

Parameters

range T

Output range to write the output to. If not given, the builder will return a string.

Return Value

Type: HTML

A struct that accepts an element block ~ (html) { } and writes the content to the output range.

See Also

HTML, the stream structure used to output data.

Meta