--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: ""
comment: 
- !ruby/struct:SM::Flow::P 
  body: Generate a top-level HTML element as a string.
- !ruby/struct:SM::Flow::P 
  body: The attributes of the element are specified as a hash. The pseudo-attribute &quot;PRETTY&quot; can be used to specify that the generated HTML string should be indented. &quot;PRETTY&quot; can also be specified as a string as the sole argument to this method. The pseudo-attribute &quot;DOCTYPE&quot;, if given, is used as the leading DOCTYPE SGML tag; it should include the entire text of this tag, including angle brackets.
- !ruby/struct:SM::Flow::P 
  body: The body of the html element is supplied as a block.
- !ruby/struct:SM::Flow::VERB 
  body: "  html{ &quot;string&quot; }\n    # &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2 Final//EN&quot;&gt;&lt;HTML&gt;string&lt;/HTML&gt;\n\n  html(&quot;LANG&quot; =&gt; &quot;ja&quot;) { &quot;string&quot; }\n    # &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2 Final//EN&quot;&gt;&lt;HTML LANG=&quot;ja&quot;&gt;string&lt;/HTML&gt;\n\n  html(&quot;DOCTYPE&quot; =&gt; false) { &quot;string&quot; }\n    # &lt;HTML&gt;string&lt;/HTML&gt;\n\n  html(&quot;DOCTYPE&quot; =&gt; '&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;') { &quot;string&quot; }\n    # &lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;&lt;HTML&gt;string&lt;/HTML&gt;\n\n  html(&quot;PRETTY&quot; =&gt; &quot;  &quot;) { &quot;&lt;BODY&gt;&lt;/BODY&gt;&quot; }\n    # &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2 Final//EN&quot;&gt;\n    # &lt;HTML&gt;\n    #   &lt;BODY&gt;\n    #   &lt;/BODY&gt;\n    # &lt;/HTML&gt;\n\n  html(&quot;PRETTY&quot; =&gt; &quot;\\t&quot;) { &quot;&lt;BODY&gt;&lt;/BODY&gt;&quot; }\n    # &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2 Final//EN&quot;&gt;\n    # &lt;HTML&gt;\n    #         &lt;BODY&gt;\n    #         &lt;/BODY&gt;\n    # &lt;/HTML&gt;\n\n  html(&quot;PRETTY&quot;) { &quot;&lt;BODY&gt;&lt;/BODY&gt;&quot; }\n    # = html(&quot;PRETTY&quot; =&gt; &quot;  &quot;) { &quot;&lt;BODY&gt;&lt;/BODY&gt;&quot; }\n\n  html(if $VERBOSE then &quot;PRETTY&quot; end) { &quot;HTML string&quot; }\n"
full_name: CGI::HtmlExtension#html
is_singleton: false
name: html
params: (attributes = {}) {|| ...}
visibility: public
