NodeJS:table 元素的 Href

NodeJS : Href of a table element

也许我遗漏了一些基本的东西

但由于某些原因,此代码无法正常工作:

<tr class="students">
  <td><%=it%></td>
  <td class="rollNo" href="/documents/getDocs"><%=stud %></td>
  <td><%=classroom.studentNames[stud]%></td>
</tr>

正在显示 table,但点击后没有任何反应 请帮助

<td> 元素没有 href 属性。使用 anchor:

<td class="rollNo"><a href="/documents/getDocs"><%=stud %></a></td>