adding border width to class tag html code example Example: border width css .element { border-width: 2px; }