Hi!
Can you help me create a web page using labels and captions? I need to have 2 labels and proper captions for each and 2 text boxes. What are the attributes the I need to use what are the meaning of each. How to implement it in web page. Can you explain to me if possible per line how does it work and how the web page executes it? Show me how to save and launch the web page I created. What is the use of textarea? How use it in web pages?
Thank you!
Creating a web page cladded with different forms
Hello Pamela!
In this project we are going to eliminate unnecessary objects. We’re going to create a web page with 2 text boxes with captions.
Sample output window for the page:
Codes used:
<html>
<head>
<title>by: JOHN HART</title>
</head>
<body>
FIRST NAME:<INPUT TYPE="TEXT" NAME="fname" SIZE="28" MAXLENGTH="30" VALUE="type here…"><br><br>
MIDDLE NAME:<INPUT TYPE="TEXT" NAME="fname" SIZE="28" MAXLENGTH="1" VALUE="type here…"><br><br>
LAST NAME:<INPUT TYPE="TEXT" NAME="fname" SIZE="28" MAXLENGTH="30" VALUE="type here…"><br><br>
</body>
</html>
Explanation:
Let’s just focus on lines 6-7-8. Line 6-7-8 have its specific caption for the purpose of each textbox. The attribute we used here are TEXT, NAME, SIZE, MAXLENGTH, and VALUE. All those line indicates that the user can type any characters or text in the boxes provided. NAME attribute will set the name of the object or form included in the page. SIZE will set the size of the fonts, and MAXLENGTH will be the length of the characters we can only enter.
Â