Last updated 3 years ago
Was this helpful?
The HTML <div> tag, implemented in Ruby.
<div>
This component accepts all the canonical like id or class.
id
class
div id: "foo", class: "bar" do plain 'Hello World' # optional content end
returns
<div id="foo" class="bar"> Hello World </div>