In this chapter, you'll learn how to style borders and draw lines.
Unlike with drawing software, you cannot draw lines using a line tool or pen tool. You can draw a horizontal line using the <hr>
element but it is mainly used to semantically separate sections. In website design, using border styling is the main approach to drawing lines.
The following topics are covered in this chapter.
In this chapter, you'll learn how to style borders and draw lines.
Unlike with drawing software, you cannot draw lines using a line tool or pen tool. You can draw a horizontal line using the <hr>
element but it is mainly used to semantically separate sections. In website design, using border styling is the main approach to drawing lines.
The following topics are covered in this chapter.