Computer Science, asked by natimughal, 8 months ago

Create an HTML document to describe a table with the following contents: i. The columns of the table must have the headings Pine, Maple, Oak, and Fir. ii. The rows must have the labels Average Height, Average Width and Lifespan. iii. Add assumed data in to the cells.

Answers

Answered by Anonymous
0

Answer:

All column in table always have similar width (you can't change it), you can only add one more cell and span some amount of cells in second row. Try this -- use DIVs to simulate table rows and columns, and the CSS min-width property to create "cells" that can stretch as needed.

Answered by koresandhya1234
0

Answer:

Define an HTML Table

The <table> tag defines an HTML table.

Each table row is defined with a <tr> tag. Each table header is defined with a <th> tag. Each table data/cell is defined with a <td> tag.

By default, the text in <th> elements are bold and centered.

By default, the text in <td> elements are regular and left-aligned.

Similar questions