--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: []

comment: 
- !ruby/struct:SM::Flow::P 
  body: Nokogiri HTML builder is used for building HTML documents. It is very similar to the Nokogiri::XML::Builder. In fact, you should go read the documentation for Nokogiri::XML::Builder before reading this documentation.
- !ruby/struct:SM::Flow::H 
  level: 2
  text: "Synopsis:"
- !ruby/struct:SM::Flow::P 
  body: Create an HTML document with a body that has an onload attribute, and a span tag with a class of &quot;bold&quot; that has content of &quot;Hello world&quot;.
- !ruby/struct:SM::Flow::VERB 
  body: "  builder = Nokogiri::HTML::Builder.new do |doc|\n    doc.html {\n      doc.body(:onload =&gt; 'some_func();') {\n        doc.span.bold {\n          doc.text &quot;Hello world&quot;\n        }\n      }\n    }\n  end\n  puts builder.to_html\n"
- !ruby/struct:SM::Flow::P 
  body: The HTML builder inherits from the XML builder, so make sure to read the Nokogiri::XML::Builder documentation.
constants: []

full_name: Nokogiri::HTML::Builder
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: to_html
name: Builder
superclass: Nokogiri::XML::Builder
