📱
HTML Widget
  • HTML Widget
  • Getting Started
    • Regular Use
    • Module Use
  • About
    • The Function
    • Types
  • Components
    • <widget>
    • <stack>
    • <spacer>
    • <img>
    • <text>
    • <date>
    • <style>
    • <!-- Comment -->
  • Add-ons
    • Add-ons
    • <symbol>
    • <hr>
    • <progress>
    • <blockquote>
  • Template
    • Templates
    • Mapping
    • Render
  • Examples
    • Hello, World!
    • Reddit Widget
  • Closing Remarks
    • Bug Fixes and Feedback
    • Support
Powered by GitBook
On this page
  • File
  • Attributes
  1. Add-ons

<hr>

About The Hr Tag

Previous<symbol>Next<progress>

Last updated 2 months ago

<widget>
  <hr/>
</widget>

The <hr> element defines a horizontal rule that is mimicked using a widget stack element. It is a self-closing tag, meaning you do not need a second closing tag but it must be marked with a forwardslash at the end.

File

Attributes

background - colour or gradient

Defines the background.

cornerRadius - posInt

Defines the corner radius.

url - url

Defines the hr url.

height - posInt

Defines the height.

width - posInt

Defines the width. When not set, the width automatically expands to fit the container.

html-widget-hr.js