Home > Article > Web Front-end > Can I Link a Table Cell () without JavaScript?
Linking a Table Cell ( Question: I want to transform the entire Answer: Yes, linking a To extend the hyperlink to the entire cell's borders, ensure that the content fills it completely. Bear in mind that this approach is not semantically correct, but it works in most browsers: Alternative Approach (Not Recommended): For Internet Explorer specifically, you can use the following HTML, but note that it violates HTML standards and is considered ill-advised: However, it's worth considering the use of CSS and JavaScript for a more elegant and standard-compliant solution, especially for cross-browser compatibility. The above is the detailed content of Can I Link a Table Cell () without JavaScript?. For more information, please follow other related articles on the PHP Chinese website!) without JavaScript
cell, including its content, into a hyperlink without JavaScript. Is this feasible?
cell is possible, though not the cell itself. Here's a clever technique:
<td>
<a href="http://example.com">
<div>
<table>
<tr>
<a href="http://example.com"><td width="200">hello world</td></a>
</tr>
</table>