Generador de tablas HTML gratuito
Construye una tabla HTML visualmente: define el número de filas y columnas, escribe tu contenido directamente en la cuadrícula, añade una fila de cabecera y copia marcado de tabla limpio y semántico para tu sitio web.
Tables that need to become data are easier to work with after the HTML to Markdown Converter, and their content can be counted with the Word & Character Counter. If the table is destined for a spreadsheet, the CSV to JSON Converter is the bridge.
Cómo usar Tabla HTML
- 1 Set the number of rows and columns, or paste tabular data.
- 2 Enter your content into the grid, using the cell controls to merge or split where needed.
- 3 Set the header row, alignment, and any column widths.
- 4 Copy the generated markup.
Cómo usarlo
Elige el número de filas y columnas, luego haz clic en cualquier celda para escribir en ella. Activa la fila de cabecera, el formato de primera columna y los bordes. La salida HTML se actualiza en vivo a la derecha.
- Filas y columnas ajustables hasta 10 × 10
- Celdas editables con vista previa en vivo
- Fila de cabecera y cabeceras de fila/columna opcionales
- Opciones de borde y caption de CSS
- Copia el marcado generado con un clic
Consejos de tablas semánticas
Usa elementos th para las celdas de cabecera, no elementos td con estilo: los lectores de pantalla y los motores de búsqueda dependen de ellos. Reserva las tablas para datos tabulares (nunca para el layout de la página) y añade un caption cuando la tabla se beneficie de un título.
Preguntas frecuentes
Why use a table element rather than layout styling?
Because a table is what the content is. A grid built from styled elements looks identical and conveys nothing to a screen reader, which will read the cells as a run of unrelated text. The table element communicates that these values belong to rows and that these headings describe these columns, which is information the styling alone does not carry.
When is a table the wrong choice?
When the content is not tabular. Tables have historically been used to lay out whole pages, which produces rigid markup, breaks on narrow screens, and tells assistive technology that the page is a spreadsheet. If the rows are not comparable records with shared headings, the content probably wants ordered or unordered lists instead.
How should a table behave on a phone?
A wide table cannot fit a narrow screen without either scrolling horizontally or collapsing into a stacked layout. Either is acceptable if chosen deliberately; neither is acceptable if ignored, because the default is a table that overflows its container and pushes the page sideways. Deciding the mobile behaviour as part of building the table is what prevents that.
Herramientas SEO y para webmasters relacionadas
También te puede interesar
Herramientas de otras categorías que suelen combinarse con Tabla HTML: