<html>
<head>
<title>MY RESUME</title>
</head>
<style type ="text/css">
body{ background-color: black;
font-family: sans-serif;}
label{color:white;}
p { font-size: 11px;
word-spacing: 10px; }
ul{font-style: italic}
h3{ text-decoration: underline; }
html{margin: 2px; border: 3px solid red;}
em{color:white;}
textarea{border-style: double;
border-color:red;}
input{border-style: double;
border-color:red;}
</style>
<script type="text/javascript">
<function validateEmpty(fld) {
var error = "";
if (fld.value.length == 0) {
fld.style.background = 'Yellow';
error = "The required field has not been filled in.\n"
} else {
fld.style.background = 'White';
}
return error;
}
</script>
function validateEmpty(fld) {
var error = "";
if (fld.value.length == 0) {
fld.style.background = 'Yellow';
error = "The required field has not been filled in.\n"
} else {
fld.style.background = 'White';
}
return error;
}
<body>
<form action="MAILTOungun_Clanz@hotmail.com" method="post" enctype="text/plain">
<h2><b><em>MY RESUME</em></b></h2>
<table border="0" width="50%">
<tbody>
<tr>
<td><label>Your Name :</label></td>
<td><input name="Name" type="text" size="25"/></td>
</tr>
<tr>
<td><label>Your Address :</label></td>
<td><textarea name="Address" rows="2" cols="25"></textarea></td>
</tr>
<tr>
<td><label>Your IC Number :</label></td>
<td><input name="IC" type="text" size="25"/></td>
</tr>
<tr>
<td><label>Career Focus :</label></td>
<td><textarea name="Career" rows="2" cols="25"></textarea></td>
</tr>
<tr>
<td><label>Education :</label></td>
<td><textarea name="Education" rows="2" cols="25"></textarea></td>
</tr>
<tr>
<td><label>Experience :</label></td>
<td><textarea name="Experience" rows="2" cols="25"></textarea></td>
</tr>
<tr>
<td><label>PR Executive :</label></td>
<td><textarea name="PR Executive" rows="2" cols="25"></textarea></td>
</tr>
<tr>
<td><label>Intern :</label></td>
<td><textarea name="Intern" rows="2" cols="25"></textarea></td>
</tr>
</tbody>
</table>
<p>
<input type = "submit" value = "Submit" />
<input type = "reset" value = "Reset" />
</p>
</form>
</body>
</html>
that is my original newbie html coding.
i got problem where by i don't know how to:
-prompt an error alert if one of the compulsory field didn't have input.
-prompt an error if the email field didn't match email format.
-prompt a greeting when user enter the site.
-Prompt an instruction on how to fill the field popup when user click on information link
-user can change font size by one click and the page refresh
-an automatically calculate of user age when they inserted their birthday and their age appear in email..
i really don't know how to do it..and really want to learn..please help.. thanks
![]()


ungun_Clanz@hotmail.com" method="post" enctype="text/plain">
Reply With Quote
Bookmarks