How to Create a Website Using HTML and CSS in Hindi

Create a Website in HTML and CSS in Hindi


Yeh front page hai  website ka jiska code mena apko necha diya hua hai or sath he mena apko image bhi di hai so app easily issa bana sakte hai. isme mena sirf html or css code use kiya hai html sa mena iska structure banaya hai or css sa mena isko style kiya hai.

Landing Page Kya Hai 


Jab bhi apko broswer mein kisi website par jate ho yha koi bhi website jissa app broswer mein open karte ho apne notice kiya hoga vha ek front page phela open hota hai jissa uss website ka logo , header section , navs etc lika hota, or fir uske necha jab app scroll karte ho to necha ussa website ka content lika hua atta hai , but jo upper portion hota hai jha apko logo menu etc show hota hai jo open krte wakq dikta hai apko usko landing page bolte hai.


How to Create a Website Using HTML and CSS in Hindi


Source Code:


Image : 

Create Landing Page in HTML and CSS in Hindi

Html Source Code :

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Photography</title>
    <link rel="stylesheet" href="web4.css">
    
</head>
<body>
    <header>
        <div class="mainheader">
            <div class="logo">
                <h1>Photographer</h1>
            </div>

            <nav class="headermenu">
                <ul>
                    <li><a href="#">Home</a></li>
                    <li><a href="#">Features</a></li>
                    <li><a href="#">Service</a></li>
                    <li><a href="#">About</a></li>
                    <li><a href="#">Plans</a></li>
                </ul>
            </nav>

            <div class="headerbuttons">
                <button>Sign in</button>
                <button>Sign up</button>
            </div>
        </div>

        <div class="imagetext">
            <div>
                <h4>I'm a</h4>
                <h2>Photographer</h2>
                <p>Photography is a way of feeling, of touching, of loving. 
What you have caught on film is captured forever… It remembers
                little things, long after you have forgotten everything.</p>
            </div>

            <div class="imagebutton">
                <button>Click Here</button>
                <button>Get a Demo</button>
            </div>
        </div>
    </header>
    
</body>
</html>


Css Source Code :

*{
    margin0;
    padding0;
    box-sizingborder-box;
}
header{
    background-imageurl(/web4/pexels-samad-ismayilov-764873.jpg);
    width100%;
    height100vh;
    background-sizecover;
    
}

.mainheader{
    background-colorrgba(72152520.185);
    height10px;
    displayflex;
    justify-contentspace-between;
    align-itemscenter;
    padding20px 30px;
}
.logo{
    padding-left30px;
}
.logo h1{
    colorrgb(5223252);
    border-bottom4px solid white;
    cursorpointer;
    text-transformuppercase;
    font-size20px;
    
}


.headermenu ul{
    list-stylenone;
    padding10px 10px 10px 100px;

}
.headermenu ul li{
    displayinline-block;
    padding10px 40px 10px 10px;
    
}
.headermenu ul li a{
    text-decorationnone;
    text-transformuppercase;
    colorwhite;
    cursorpointer;
    text-transformuppercase;
}
.headermenu ul li a:hover{
    colorrgb(6235252);
    border-bottom2px solid white;
}

.headerbuttons {
    padding10px 30px;
    word-spacing30px;
}
.headerbuttons button{
    border2px solid rgb(5226255);
    background-colorblack;
    text-transformuppercase;
    colorwhite;
    border-radius20px;
    font-weightbold;
    padding5px 20px;
    cursorpointer;
}

.headerbuttons button:hover{
    background-colorrgb(250255255);
    colorblack;
}

.imagetext{
    positionabsolute;
    top30%;
    left5%;
    width50%;
    heightauto;
    /* text-align: center; */
}
.imagetext h4{
    font-size90px;
    colorrgb(6221250);
    font-weight400;
    font-weightbold;
    
}
.imagetext h2{
    font-size80px;
    colorrgb(239243237);
    font-weightbold;
    text-transformuppercase;
    padding-bottom10px;

}
.imagetext p{
    /* font-weight: 10px; */
    word-spacing4px;
    font-size17px;
    colorrgba(2472542550.966);
    padding-bottom:40px;
    font-weight500;
}

.imagebutton{
    word-spacing:20px;
}
.imagebutton button{
    font-weightbold;
    padding10px 30px;
    font-size20px;
    background-colorblack;
    colorwhite;
    border2px solid rgb(5221250);
    border-radius20px;
    cursorpointer;
}

.imagebutton button:hover{
    background-colorwhite;
    colorblack;
}

Note : Mena apko image or source code de diya hai bas ek ek baat ka dyan rkna jab app HTML mein css file ko link kroga to dyan rkna app apni file name ko link kre an ki meri file name jo.

Please do not enter any spam link in the comment box.

Post a Comment (0)
Previous Post Next Post