border style in html tag code example Example: border-style The border-style property sets the style of an element's four borders.