Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7032455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:56:17+00:00 2026-05-28T00:56:17+00:00

I currently have a java script solution to make an entire table row clickable.

  • 0

I currently have a java script solution to make an entire table row clickable. I need to support the non-java script folks so is this possible without java script?

I can add a a href tag to each cell but that seems like overkill and it also only lets the user click on the contents of the cell.

Any other alternatives to turn an entire table row into a hyperlink?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:56:17+00:00Added an answer on May 28, 2026 at 12:56 am

    Not without putting a link inside each cell unfortunately, otherwise it’s not valid markup.

    You can still make it appear like the “row” is clickable though by making the links display as blocks so they take up the entire cell.

    e.g. (jsFiddle)

    <table>
        <tr>
            <td><a href="#">Some text</a></td>
            <td><a href="#">more text</a></td>
            <td><a href="#">more text</a></td>
        </tr>
    </table>
    
    tr:hover { background: #ddd; }
    td { border: 1px solid #000; border-collapse: collapse; }
    td a { display: block; padding: 5px 20px; }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a small text game I've written in Java that utilizes System.out.print();
I am writing an application in java (1.6) using swing. I currently have a
I am working on an IMAP client using java mail. We currently have a
I'm looking into some XSS prevention in my Java application. I currently have custom
I'm using Zend_Search_Lucene, the PHP port of Java Lucene. I currently have some code
I am new to javascript, and can't find the solution to this. I have
I currently have a Javascript function that uses a string to reference an object
I am currently trying to pass an array that I have created in Javascript
This question may have been asked already - but unfortunately, I could not find
I'm already tossing around a solution but as I haven't done something like this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.