Tables on a web page
-
How do I insert a table on a web page?
The blog I need help with is: (visible only to logged in users)
-
Hi –
Please tell me more about this table and how you want it to look. This page is going to help get you started:
-
I suspected it involved html coding.
I’m trying to use a table to format pictures and names of members of our organization. I have one that someone else started (but then she left the organization). It has 4 columns and 5 rows but I need a 6th row. I don’t know how to add a 6th row. I’ve also been asked to post pictures of our 175 members – which would be 4×44 – and if I can’t use a table for that, the only other way I know is to make it a pdf file – which apparently isn’t secure. (It’s on a password-protected page.)
-
To add another row you add another section looking like this:
<tr> <td>Number of tables</td> <td>1</td> <td>2</td> </tr>After the last /tr you see. Every tr /tr pair indicates a row in the table, while each td /td pair inside a set of tr’s indicates a cell in that row.
You can add photos in a table. To do that you’ll need to add an HTML img tag inside the set of td’s indicating the cell where the image should go.
But it might be simpler to just use a Google Doc or MS Word and embed that instead:
https://en.support.wordpress.com/word-web-app/
-
To be clear, you’ll be embedding the doc directly from the web using those services, rather than hosting a PDF directly in your media library. Such an embedded doc is only visible to someone with whom you share the link, and if the page is password-protected that link cannot be indexed by search engines and only people with the password will be able to click on it.
-
I’m trying to do something simpler, but my HTML keeps getting crushed in various unpredictable ways… My guess is that there is a conversion test when you switch from the HTML view to the Visual view, and if it doesn’t like something about the HTML, then it messes things up. For example, text from within the table keeps getting popped out of the table, reappearing in front of the first table tag.
Not sure what would be the most helpful… Maybe a minimalist HTML table editor? Most of them seem to produce huge piles of unneeded HTML, but I’m trying to keep it as simple as possible. Or maybe it would be more helpful to understand how WordPress is testing the HTML during the rendering process when it switches to the Visual view?
The specific entry I’ve been struggling with is at https://tsosp.wordpress.com/2018/05/30/qrs-with-video
-
Honestly, if you’re making a table it might be easier to use a table generator. Then you can just paste that code into your site. I’ve been in HTML for over 20 years and it’s still easier for me to do it that way sometimes. :)
https://www.tablesgenerator.com/html_tables
You might opt to not generate the CSS.
Hoping that helps!
- The topic ‘Tables on a web page’ is closed to new replies.