Techno Blender
Digitally Yours.

Bootstrap 5 Layout Forms – GeeksforGeeks

0 34


<!DOCTYPE html>

<html lang="en">

  

<head>

    <meta charset="utf-8">

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

    <link href=

          rel="stylesheet">

</head>

  

<body class="m-3">

    <h1 class="text-success">

        Geeksforgeeks

    </h1>

    <h4>

        Bootstrap 5 Layout Forms

    </h4>

    <form>

        <div class="row mb-3">

            <label for="inputName" class="col-sm-2 col-form-label">

                Name

            </label>

            <div class="col-sm-10">

                <input type="text" class="form-control" 

                       id="inputName">

            </div>

        </div>

        <div class="row mb-3">

            <label for="inputemail" class="col-sm-2 col-form-label">

                Email

            </label>

            <div class="col-sm-10">

                <input type="email" class="form-control" 

                       id="inputemail">

            </div>

        </div>

        <div class="row">

            <div class="col-sm-10 offset-sm-2">

                <button type="submit" class="btn btn-primary" disabled>

                    Registered

                </button>

                <button type="submit" class="btn btn-primary">

                    Sign in

                </button>

            </div>

        </div>

    </form>

</body>

  

</html>


<!DOCTYPE html>

<html lang="en">

  

<head>

    <meta charset="utf-8">

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

    <link href=

          rel="stylesheet">

</head>

  

<body class="m-3">

    <h1 class="text-success">

        Geeksforgeeks

    </h1>

    <h4>

        Bootstrap 5 Layout Forms

    </h4>

    <form>

        <div class="row mb-3">

            <label for="inputName" class="col-sm-2 col-form-label">

                Name

            </label>

            <div class="col-sm-10">

                <input type="text" class="form-control" 

                       id="inputName">

            </div>

        </div>

        <div class="row mb-3">

            <label for="inputemail" class="col-sm-2 col-form-label">

                Email

            </label>

            <div class="col-sm-10">

                <input type="email" class="form-control" 

                       id="inputemail">

            </div>

        </div>

        <div class="row">

            <div class="col-sm-10 offset-sm-2">

                <button type="submit" class="btn btn-primary" disabled>

                    Registered

                </button>

                <button type="submit" class="btn btn-primary">

                    Sign in

                </button>

            </div>

        </div>

    </form>

</body>

  

</html>

FOLLOW US ON GOOGLE NEWS

Read original article here

Denial of responsibility! Techno Blender is an automatic aggregator of the all world’s media. In each content, the hyperlink to the primary source is specified. All trademarks belong to their rightful owners, all materials to their authors. If you are the owner of the content and do not want us to publish your materials, please contact us by email – [email protected]. The content will be deleted within 24 hours.

Leave a comment