0

I have an online spreadsheet on google and created an html page that shows the spreadsheet table. The problem is that the contents of a column are links and the html table does not show those clickable links. I have found many solutions on the internet, but all of them are including a fixed link in the code. My table receives data and each row has a different link. How can I do this?

Following is a part of the code I executed :

    <br><br>
     
    <table id = "Tab">
    
  <thead>
    <tr>
         <th class= "Titulo">Nº de inscrição</th>
         <th class= "Titulo">CPF</th>
         <th class= "Titulo">Nº de cadastro</th>
         <th class= "Titulo">Link</th>
     </tr>
  </thead>
     
     <tbody id = "CorpoTabela">
     
     </tbody>
  
    </table>
   
    </div>
   </div>
    
    
    <?!=Chamar("Tabela-js")?>
   
  </body>
</html>

2 Answers 2

1

Use the anchor tag inside your <th> tag. You can enter your link in href field like so:

<a href="#"></a>

Where # is your link.

Sign up to request clarification or add additional context in comments.

1 Comment

I can't determine the link because I don't know the link. The table is constantly fed and each row of a given column has a link. So, I need the HTML code to identify that all cells in that column are links.
0

I can't determine the link because I don't know the link. The table is constantly fed and each row of a given column has a link. So, I need the HTML code to identify that all cells in that column are links.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.