Tuesday, November 29, 2011

HTML Tutorial - 1

How to create text fields in HTML script ?


Solution :
Step 1: Go to Notepad.
Step 2: Copy the HTML script below to the notepad.
 
<html>
<body>

<form action="">
First name: <input type="text" name="firstname" /><br />
Last name: <input type="text" name="lastname" />
</form>

<p><b>Note:</b> Also note that the default width of a text field is 20 characters.</p>
</body>
</html>
 
Step 3: Now save the file with .html format.
Step 4: Close the notepad and now open the saved file in your default browser .

That's it ! 
You will see as like the below picture.
You will see like the script in your browser like this !

No comments:

Post a Comment

Disclaimer: "I do not own the rights of the content provided in this blog. All content provided on this blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information".