Border Color

Example Code


<!-- Codes by HTMLmagics -->
<p style="border:3px solid Black;">This text has a border color of: <b>Black</b>.</p>
<p>The border of this text is inherited from its containing block, but <span style="border:3px solid Black">this 'span' tag has a border with a color of <b>Black</b></span>. </p>
<div style="border:3px solid Black;width:150px;">The border color of this 'div' tag is <b>Black</b>. </div>
<p><a  style="font-size:11px;color:#999;" href="http://www.htmlmagics.blogspot.com/color/html-color-code-generator.cfm">HTML Color Generator</a></p>


Result








This text has a border color of: Black.

The border of this text is inherited from its containing block, but this 'span' tag has a border with a color of Black.

The border color of this 'div' tag is Black.

HTML Color Generator