Hello friends,
In this article we will learn how to make or Apply Borders on our Heading " hello world" or elements using html css. So let's start...
we will Make html Format like this. & Apply css for borders.
<html>
<head>
<title> Apply Borders on Heading </title>
<style>
/* First method */
H1{
border : 2px solid red;
}
/*Second method*/
H1{
border-style : solid;
border-color : red;
border-radius : 2px;
}
</style>
</head>
<body>
/* We are applying borders on <H1> */
<H1> Hello World </H1>
</body>
</html>
I hope you understand very well.. ask me anything regarding web development in comment section. I will answer your questions as soon as possible thanks 😊.
0 Comments