Dino Geek, try to help you

How to set spacing between cells in an HTML table?


To set the spacing between cells in an HTML table, you would use the `cellspacing` attribute in the `

` tag. Here’s an example:

```


Row 1, Cell 1 Row 1, Cell 2
Row 2, Cell 1 Row 2, Cell 2

```
In this example, there will be 10 pixels of space between each cell in the table.

However, please note that the `cellspacing` attribute is not supported in HTML5. Instead, you would use CSS to achieve the same effect:

```


Row 1, Cell 1 Row 1, Cell 2
Row 2, Cell 1 Row 2, Cell 2

```

In this example, the `border-spacing` property in CSS is used to set the space between cells to 10 pixels.


Simply generate articles to optimize your SEO
Simply generate articles to optimize your SEO





DinoGeek offers simple articles on complex technologies

Would you like to be quoted in this article? It's very simple, contact us at dino@eiki.fr

CSS | NodeJS | DNS | DMARC | MAPI | NNTP | htaccess | PHP | HTTPS | Drupal | WEB3 | LLM | Wordpress | TLD | Domain name | IMAP | TCP | NFT | MariaDB | FTP | Zigbee | NMAP | SNMP | SEO | E-Mail | LXC | HTTP | MangoDB | SFTP | RAG | SSH | HTML | ChatGPT API | OSPF | JavaScript | Docker | OpenVZ | ChatGPT | VPS | ZIMBRA | SPF | UDP | Joomla | IPV6 | BGP | Django | Reactjs | DKIM | VMWare | RSYNC | Python | TFTP | Webdav | FAAS | Apache | IPV4 | LDAP | POP3 | SMTP

| Whispers of love (API) | Déclaration d'Amour |






Legal Notice / General Conditions of Use