html + css

linlk of all codes here


https://codewithharry.com/videos/web-development-in-hindi-7 






<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <meta name="description" content="This is description">

    <meta name="keywords" content="html, html tutorials, web development">

    <meta name="robots" content="INDEX, FOLLOW">

    <title>Document</title>


    <!-- This is how you include external css -->

    <link rel="stylesheet" href="harry.css">




    <!-- This is how you include external JavaScript -->

    <script src="harry.js"></script>

</head>

<body> 



</body>

</html>

==========================================================================
link a page to targrt location


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Links and images</title>
</head>
<body>
    <a href="https://google.com" target="_blank">Go to google</a><br>
    <a href="https://facebook.com" target="_blank">Go to facebook</a><br>
    <a href="https://twitter.com" target="_blank">Go to twitter</a><br>
    <a href="https://linkedin.com" target="_blank">Go to Linkedin</a><br>
    <a href="/tut4.html" target="_blank">Tut 4</a>
    <a href="/tut5.html" target="_blank">Tut 5</a>

    <!-- Image is not present hence alt text is shown -->
    <!-- <img src="harry.jpg" alt="Error loading image"> -->
    <img src="https://source.unsplash.com/200x110/?nature,water" alt="remote image" width="233" height="34">


</body>
</html>

html list and table creation

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Tables and Lists</title>
</head>

<body>
    <ul type="circle">
        <li>This is first item of my unordered list</li>
        <li>This is second item of my unordered list</li>

        <ul>
            <li>Another one</li>
            <li>Another two</li>
            <li>Another three</li>
        </ul>


        <li>This is third item of my unordered list</li>
    </ul>
    <ol type="a">
        <li>This is first item of my ordered list</li>
        <li>This is second item of my ordered list</li>
        <li>This is third item of my ordered list</li>
    </ol>

    <!-- Tables -->
    <h3>HTML Table</h3>
    <table>
        <thead>
            <tr>
                <th>Name</th>
                <th>Employee Id</th>
                <th>Employee Role</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td> Harry </td>
                <td> 34343 </td>
                <td> Programmer </td>
            </tr>
            <tr>
                <td> Rohan Das</td>
                <td> 3483 </td>
                <td> HTML Expert </td>
            </tr>
            <tr>
                <td> Shubham </td>
                <td> 7564 </td>
                <td> Android Developer </td>
            </tr>
        </tbody>
    </table>

</body>

</html>

Comments