answersLogoWhite

0


Best Answer

Yes, it's possible to align tables next to each other using the float value of the style attribute. Give both tables the same float and a fixed width and they will appear next to each other if the browser window is wide enough.

Example:

<table style="float:left; width:100px;">

<tr><th>Table 1</th></tr>

<tr><td>Content</td></tr>

</table>

<table style="float:left; width:100px;">

<tr><th>Table 2</th></tr>

<tr><td>Content</td></tr>

</table>

This will create two tables of the width 100px next to each other.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

<table> Opens table

<tbody> Attributes, not always necessary

<tr> Opens row

<td> Opens column

</td> Closes column

<td> Opens column

</td> Closes column

</tr> Closes row <-------END FIRST ROW-------->

<tr>

<td>

</td>

<td>

</td>

</tr>

</tbody> Closes

</table> Closes table

2 row, 2 column table

! row, 1 column = box. Add rows as necessary.

Add columns within rows as necessary.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

The best way is to create one table with two cells on one row. Then in each of those cells you place a table. You can have all borders of the outer table hidden, leaving you to see two tables beside each other.

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

Tables are important for placing desired text or content in a specific area on the page. Without tables the HTML will be viewed as a list starting from the top down. Think of it as creating a grid on the page, and you can place content in each cell of that grid where desired.

The start tag for table is

the table is divided by by Rows and cells (columns) To start a row you use the tag within this TR tag the cells are placed by using the tags each start,and end tag will represent a cell, and you can add as many cells as you wish. When you want to end the row you use the tag. After you complete the number of rows you want you close the table with
the following example is for a simple table that consists of two rows that have two cell each>

this is the content in the first cell in the first rowThis is the content in the second cell first row
this is the content in the first cell in the second rowthis is the content in the second cell in the second row

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

You can create a new table by <table> tag. You can close that tag using </table> tag.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the HTML code to make a table?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the HTML code to make link inside a table?

You have to use the anchor tag to make a link. The code will be &lt;a&gt;&lt;table&gt;Table-Stuff&lt;/table&gt;&lt;/a&gt;.


How do you make a table on WikiAnswers?

You could make the table in an HTML editor and paste it here.


Is there an alternative to tr in HTML code?

Not if you're attempting to put a table together, no.


How can you make your song into a HTML code?

There is no software, program, or pattern that transforms songs into HTML.


How to make a Show Hide HTML?

You cannot make an html for show hide, one can simply use javascript to create the show hide code that you are looking for. Depending on what you want, the code is fairly simple using a javascript html code resources.


Can someone make an HTML code where i can just put my file in and it to work please?

You have to give the complete file in order to make and HTML file. The file should be compatible with the code.


How do you make a table with CSS or HTML with a height and width that won't change if text is added so it scrolls vertically?

You have to build the table in HTML, but to make scrollbars within the cells you must use JavaScript to manipulate the DOM. Neither HTML or CSS have a way to add scrollbars


How do you code a layout on photofiltre?

you don't code the layouts in photofiltre , u make them then code them using HTML


What Is The Code To Show An Html A Text?

&lt;code&gt;&lt;code&gt;HTML TEXT HERE&lt;/code&gt;&lt;/code&gt;


HTML code has a limit of 10 webpages per site?

No! HTML is simply code. You can write 1 million pages of HTML code if you want. HTML is not a program. Its code. Now you may have a program that uses HTML code and that program has limitations. But not HTML itself.


Can you insert an image in table header in HTML?

Yes, you can insert an image anywhere in the code. You just have to insert the img tag before the area you want to insert it.


How To Use HTML?

HTML stands for Hypertext Markup Language. HTML is the code used on websites all across the Internet. HTML is the code that makes a website a website. HTML is quite simple to learn how to use. HTML code that is typed by hand to create a website is old school now days. There are several programs out there are enable you to create a website without the need to know HTML code by hand. The new programs out there enables nearly anyone from the new person to the advanced person to make a website within minutes.The HTML code to make a link on your website is quite simple. HTML code is basic code that just learn to memorize in your mind. It is simple to remember to short code lines that you input to create certain things on a website like a small link to another page. HTML code is just a code like a different language. It is all memory.The new software out there made for creation of a website has the HTML code built into