Answers for "table links html"

2

table url html

<!--
You can't do that. It is invalid HTML.
 You can't put a <a> in between a <tbody> and a <tr>. Try this instead:
-->
<tr onclick="window.location='#';">
        ...
</tr>
<!--
add style for pointer view
-->

[data-href] { cursor: pointer; }
<!--
When you work up to it, you'd want to use JavaScript to assign the click handler outside of the HTML
-->
Posted by: Guest on August-05-2021
0

html table link

<table>
	<tr>
      <th onclick = "location.href = 'your.linlk'"></th>
    </tr>
</table>
Posted by: Guest on September-01-2021

Browse Popular Code Answers by Language