• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unexpected tag <TABLE> found ,expecting one of <TD> ,<TH>

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I have made a HTML form , but when i run in netbeans there are lot of errors highlighting which is showing errors like Unexpected tag <TABLE> found ,expecteing one of <TD> ,<TH>,
<tr>

<table width="140%" border="0" cellspacing="1" cellpadding="3">
<tr bgcolor="#CCCCFF">




<label for="financial year" class="required"><font size="4"><B>Financial Year</B></font></label>
<select id="financial year" name="financial year" size="1" >
<option value="1">2011-2012</option>
<option value="2">2012-2013</option>
<option value="3">2013-2014</option>
<option value="4">2014-2015</option>
<option value="5">2015-2016</option>
</select>




</tr>
</table>



</tr>

this is part of my code....where <tr>,<table> is displaying the error...kindly help
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<tr> is representing a row of the particular table.. Here if you want to have data inside the row you must enclose it with <td> or <th> if it is your header.
You have <table> inside the <tr> but no <td> or <th>, so it complains
 
reply
    Bookmark Topic Watch Topic
  • New Topic