How to add a divider line?

How do I add a divider into weweb? You know, a simple line to divide sections… :smiley:

everything in a web page is a box, a divider is a box without height but with borders and margins, unless you want to use some fancy lines with svg :slight_smile:

1 Like

If you really want THE LINE

That’s right, and it’s also good for accessibility.
If you want to only use a default weweb component to ease styling you can add the role attribute set to separator to tell assistive technology that the element is a separator (source)

1 Like

Wait… so how do I implement this? :relieved:

That’s the method I’m going for now… hahahaha the caveman method :stuck_out_tongue: but it works, so who cares~

1 Like

html element with <hr />

Yup, you create a HTML block and add <hr> into it. That simple.