Module: FunHtml::SpecElements::HTMLInputElement

Included in:
HTMLAllElements
Defined in:
lib/fun_html/spec_elements.rb

Instance Method Summary collapse

Instance Method Details

#input(attributes = nil) ⇒ Object



545
546
547
548
# File 'lib/fun_html/spec_elements.rb', line 545

def input(attributes = nil)
  # no child elements allowed and no closing tag
  write_void('<input', attributes)
end