-->

HTML page with fieldset.

Let's see following example to understand about fieldset.
-----------------------------------------------------------------------------------
<html><!--root tag-->

<head><!--used for meta tag-->
    <title><!--title tag-->
        form with input tag date-time-local tag
    </title>
</head>

<body><!--is a container-->
    form <br>
    <form><!--opening of form tag-->
        <!--following script is related to fieldset-->
        <fieldset>
            <legend align="left">enter your personal information</legend>
            <!--legend is for title of information-->
            <label for="fname">First name</label><br>
            <!--defines title-->
            <input type="text" name="fname"><br>
            <!--creates box-->
            <label for="address">Address</label><br>
            <!--defines title-->
            <input type="text" name="address"><br>
            <!-- creates box-->
            <label for="email">e-mail</label><br>
            <!--defines title-->
            <input type="email" name="email">
            <!--creates box to accept email.-->
             </fieldset>
    </form>
</body>

</html>

No comments:

Post a Comment