In javascript, please validate this html Personal Information: First Name Gender Female Male Last Name Nationality Address Medical History: Smallpox Mumps Dizziness Sneezing Current Medication: Are you currently taking any medication? Yes No If you are currently taking medication ,please indicate it in the space below:

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
In javascript, please validate this html
<!DOCTYPE html>
<html>

 

<head>
    <style>
        table,
        th,
        td {
            border: 1px solid black;
        }
    </style>
</head>

 

<body>

 

    <div style="    border: 1px solid;    padding: 5px;">
        <fieldset>
            <legend>Personal Information:</legend>
            <table boarder="1">
                <tr>
                    <td>First Name</td>
                    <td><input type="text" /></td>
                    <td>Gender</td>
                    <td><input type="radio" value="Male" /> <label> Female</label><input type="radio" value="Male" />
                        <label> Male</label>
                    </td>
                </tr>
                <tr>
                    <td>Last Name</td>
                    <td><input type="text" /></td>
                    <td>Nationality</td>
                    <td><select>
                            <option value="Canedian">Canedian</option>
                            <option value="Indian">Indian</option>
                        </select></td>
                </tr>
                <tr>
                    <td>Address</td>
                    <td><textarea style="margin: 0px; height: 64px; width: 185px;"></textarea></td>

 

                </tr>

 

            </table>
        </fieldset>

 

        <fieldset>
            <legend>Medical History:</legend>
            <input type="checkbox">
            <label> Smallpox</label>
            <input type="checkbox">
            <label> Mumps</label>
            <input type="checkbox">
            <label> Dizziness</label>
            <input type="checkbox">
            <label> Sneezing</label>
        </fieldset>

 

        <fieldset>
            <legend>Current Medication:</legend>
            <label> Are you currently taking any medication?</label> <input type="radio"> <label> Yes</label><input
                type="radio" /> <label> No</label>
            <br>
            <legend>If you are currently taking medication ,please indicate it in the space below:</legend>
            <textarea style="margin: 0px; width: 591px; height: 130px;"></textarea>

 

        </fieldset>
        <input type="button" value="Submit" />
        <input type="button" value="Reset" style="margin-bottom: 31px;" />
    </div>

 

</body>

 

</html>
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY