Hr

The HTML <hr> tag, implemented in Ruby.

Parameters

This component accepts all the canonical HTML global attributes like id or class.

Examples

Example 1: Basic usage

hr
hr id: "hr-id"
hr class: "hr-class"
hr id: "hr-id", class: "hr-class"

returns

<hr>
<hr id="hr-id">
<hr class="hr-class">
<hr id="hr-id" class="hr-class">

Last updated