Wednesday, 20 April 2022

HTML + CSS #11 | Box Model= Margin , Padding , Border | HTML & CSS | Web Development

 <!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
#conceptoverview{
    background-color: greenyellow;
    height: 150px;
    width:220px;
    padding:20px 50px;
    border: 5px ridge black;
    margin:10px 30px ;
}
</style>
<body>
    <h1 id="conceptoverview">11th Video</h1>
</body>
</html>





No comments:

Post a Comment

JAVASCRIPT + CSS + HTML #42 | Event & Event Listener |How to Target using JS | Web Development

  <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < met...