3666_1 520533261437 Photos Add to a creation X Edit & Create v L Share See all p
ID: 3726078 • Letter: 3
Question
3666_1 520533261437 Photos Add to a creation X Edit & Create v L Share See all photos ESTION 1 escription of work Use Notepad/TextPad to create html page Do not use any software program as Expression Web/ Dreamweaver . The screenshot of how your page should display is attached o You should create a html pago with the following features Aformwith gend ersonall formation) 21 put areas for First Name Last Name 2 option bu ton Male Female adrpd nM 4 orw Button with text submit 2. A3 x3 table which displays your course schedule as student 3. Your 3 favorite websites as hyperlinks 4. Javascript which displays an alert message when button is clicked 5. Internal or external style sheet to add color to page and font How your page should display See PersonalPage.png (opens in new page Personal information: First name: Last name: O Male Female Major Buiness Type here to search 1:33 PMExplanation / Answer
<html>
<head>
<title>Example</title>
<style>
body
{
background-color:skyblue;
font-size:16px;
font-family:arial;
font-style:inherit;
color:darkblue;
}
</style>
<script type="text/javascript">
function vf()
{
var x=document.Validate.FN.value;
var y=document.Validate.LN.value;
if (x==null || x=="")
{
alert("First Name can't be blank");
return false;
}
if (y==null || y=="")
{
alert("Last Name can't be blank");
return false;
}
var z = document.getElementsByName("gender");
if (z[0].checked == true)
{
}
else if (z[1].checked == true)
{
}
else
{
alert("Your must select a gender");
return false;
}
var p = document.getElementById("DD");
var strUser = p.options[p.selectedIndex].value;
//if you need text to be compared then use
var strUser1 = p.options[p.selectedIndex].text;
if(strUser==0) //for text use if(strUser1=="Select")
{
alert("Please select a user");
}
}
</script>
</head>
<body>
<form name="Validate" method="post">
<fieldset>
<legend>Personal Information:</legend>
First Name: <input type="text" name="FN" size="30"><br><br>
Last Name: <input type="text" name="LN" size="30"><br><br>
<input type="radio" name="gender" value="1"> Male<br>
<input type="radio" name="gender" value="2"> Female<br><br>
Major:<select id="DD">
<option value="0">Select</option>
<option value="1">First Year</option>
<option value="2">Second Year</option>
<option value="3">Third Year</option>
<option value="4">Fourth Year</option>
</select><br><br>
<textarea rows="4" cols="50">
Example Of Text Area
</textarea><br><br>
<input type="submit" value="Submit">
</fieldset>
</form>
</body>
</html>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.