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