Thursday, August 26, 2021

Html Forms with fieldset

 Html Forms with fieldset Code

<!DOCTYPE html>>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" href="nav.css">
    <script src="https://use.fontawesome.com/d07a8c2f55.js"></script>
    <link rel="preconnect" href="https://fonts.gstatic.com">
    <title>Html Froms</title>
</head>

<body>
<h1>the fieldset</h1>
<form>
    <fieldset>
        <legend>Html forms</legend>
        <label for="fname">Name</label><br>
        <input type="text"id="fname"name="fname"value="ahmad"><br>
        <label for="lastname">lastname</label><br>
        <input type="text"id="lastname"name="lastname"value="asghar"><br>
        <input type="submit">
    </fieldset>
</form>
</body>
</html>


No comments:

Post a Comment

JavaScript Animated

  JavaScript Animated <!DOCTYPE html> <html> <style> #myContainer {   width: 400px;   height: 400px;   position: relative;...