How to change the color of selected row of an HTML table without using CSS or Javascript?

If it's html why can't u just use html to change the colour?

<table border="1">
<tr>
<td bgcolor="red">rowname first,second </td>
<td> name</td>
</tr>

<table border="1">
<tr>
<td bgcolor="red">rowname first,second </td>
<td> name</td>
</tr>

I think that this is answer for your quastion:
<table border="1">
<tr onmouseover="style.backgroundColor = '#cdcdcd';" onmouseout="style.backgroundColor = '#ededed';">
<td>rowname first,second </td>
<td> name</td>
</tr>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.