CSS Setting border color

CSS Setting border color:

<!DOCTYPE html>
<html>
<body>

<h1 style="border: 2px solid Tomato;">Hello World</h1>

<h1 style="border: 2px solid DodgerBlue;">Hello World</h1>

<h1 style="border: 2px solid Violet;">Hello World</h1>

</body>
</html>

Output:

Hello World

Hello World

Hello World

Comments

Popular posts from this blog

css3 Borders

Introduction to CSS

Background repeat and no-repeat in css