Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML Help...

Status
Not open for further replies.
Mar 29, 2002
33
US
Can anyone tell me what's wrong with this code..?

Thanks-

<tr>
<td>
<select name="Ethnic_ID" id"Ethnic_ID">
<option value="" selected="selected">
<option value="1">African American
<option value="4">Asian
<option value="2">Caucasian
<option value="3">Hispanic
<option value="5">Native American
</tr>
</td>



 
1. You didn't close the select tag.
2. You closed the table row (tr) before closing the table cell (td)
3. You are missing an equal sign between id and "Ethnic_ID".
4. This is not wrong, but it is recommended that you close your option tags.
5. If that is the whole code it is still missing all necessary html elements around it.
 
The list may have been shorter to ask what's not wrong with that code [dazed][yoda]

[monkey][snake] <.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top