CSS - Margin in CSS
Hope this post finds you well. In this video,I explained the Margin in CSS. Feel free to comment. For more, please subscribe and press the BELL icon. Please visit my CSS Playlist. Please link, comment, share and subscribe. The code is as follows -
HTML File -
<html>
<head>
<title> CSS Margin </title>
<link rel="stylesheet" href="margin.css">
</head>
<body>
<h4> Hi.. Guys Welcome To My Channel </h4>
<b> Hi.. Please visit my blog - webguruanik.blogspot.com </b>
<h1> Hi </h1>
</body>
</html>
CSS File -
h4 {
border: 1px solid blue;
margin: 50px;
padding: 12px;
}
b {
border: 2px dotted green;
margin: 10px;
padding: 20px;
}
h1 {
border: 2px dashed red;
margin: 35px;
padding:30px;
}
HTML File -
<html>
<head>
<title> CSS Margin </title>
<link rel="stylesheet" href="margin.css">
</head>
<body>
<h4> Hi.. Guys Welcome To My Channel </h4>
<b> Hi.. Please visit my blog - webguruanik.blogspot.com </b>
<h1> Hi </h1>
</body>
</html>
CSS File -
h4 {
border: 1px solid blue;
margin: 50px;
padding: 12px;
}
b {
border: 2px dotted green;
margin: 10px;
padding: 20px;
}
h1 {
border: 2px dashed red;
margin: 35px;
padding:30px;
}
Comments
Post a Comment