How do I make a dashed line in CSS?

How do I make a dashed line in HTML?

6 Answers. You could just have


How do you type a broken line?

Right-click the line, then click “Format Shape,” or as an alternative, with the line selected, click the “Drawing Tools Format” tab on the Ribbon. To change the line to dashed or dotted line in Word, click the “Shape Outline” command in the Shape Styles group, then click “Dashes.” Select the desired line dash type.

How do I change the color of a horizontal line in CSS?

You can simply use the CSS background-color property in combination with the height and border to the change the default color an


element. In the following example we’ve changed the color of hr tag to light grey. You can also increase the thickness of the line by simply increasing the value of the height property.

How do I make a horizontal line thicker in HTML?

If you want to change the thickness, or height of your horizontal line, add the height property to your

THIS IS INTERESTING:  Does style go in head or body?

style. In this case, you can also set the background-color property for the thick horizontal line.

Website creation and design