Main
Last updated
Was this helpful?
The HTML <main> tag, implemented in Ruby.
This component accepts all the canonical HTML global attributes like id or class.
main id: "foo", class: "bar" do
plain 'Hello World' # optional content
endreturns
<main id="foo" class="bar">
Hello World
</main>Last updated
Was this helpful?
Was this helpful?