html - Make table row(<tr>) linked without JavaScript -


I am currently adding non-JS functions to my site because some devices are still not able to handle JS , Some people turn it off faster loading pages (such as slow connections, slower devices like older computers)

So, now I have a problem: I have & lt; There is a page with the profile listed in Table & gt; Each & lt; Tr & gt; & lt; Td> such as & lt; Tr & gt; & Lt; Td> & Lt; A & gt; Name & lt; / A & gt; & Lt; / Td> & Lt; TD & gt; & Lt; A & gt; ; & Lt; / A & gt; & Lt; / Td> & Lt; / Tr & gt; IO is not a good solution because I will have a lot of code and only text will be clickable.

Also

   Text & lt; / Td> & Lt; / Tr & gt; & Lt; / A & gt;  

does not work.

Is there any sense without javascript?

Thank you in advance Naymecliff

I'm afraid this is not possible. You can create a link to a td element, and the content of HTML5 rules (as well as browser exercises), you can create a link to a whole table, but then the intermediate level, a table row element < Code> tr can not be changed on a link in HTML.

If you create the content of each td , so that the line of one line points to the same destination, then things work in a sense, but this is a good utility is not. It will not be clear to the user what is happening, because in the presence nothing shows that the cells of the line should actually have a link apart, because they are separate links, Tabbing becomes weird

Depending on the contents and nature of the table, maybe you can choose a column in the form of "primary" in a sense (possibly with a caption such as data or title, some of the line headings ), And use only `` for cells in that column.


Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -