Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

How to create table?

 
webmaster forum
adamma  Offline
Activity
0%
 
New Coder
Posts: 25
Topics: 17
September 06, 2008, 11:46:36 PM

Do you know how to create table with html code? I've work to do with html, but I forgot already to create table with html code. Please teach me. Thank you
 
webmaster forum
Neoadam  Offline
Activity
0%
 
Regular Coder
Location: UK
Gender: Male
Posts: 83
Topics: 14
September 07, 2008, 03:53:55 AM

Tables are defined using the <table> tag.

Table rows are defined using the <tr> tag.

Each row is divided into table data cells using the <td> tag.

To create a border on the table use the tag <table border="1">.


Here's an example from W3Schools:

Code:
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>

How to create an LCD screen in photoshop!
How to create a wet road in photoshop!
How to create a glass icon in photoshop!
How to create a modern website design!
 
webmaster forum
nikon  Offline
Activity
0%
 
New Coder
Posts: 20
Topics: 13
September 11, 2008, 07:25:05 PM

If you want to create a table then easiest way is to use any html editor , for example dreamweaver. In dreamweaver just go to Insert menu and select table, you can add table easily.
 
webmaster forum
Activity
0%
 
New Coder
Posts: 49
Topics: 14
September 11, 2008, 10:56:28 PM

Hi, there are some syntax to create the table in HTML code.Tables are defined with the <table> tag. A table is divided into rows (with the <tr> tag), and each row is divided into data cells (with the <td> tag). The letters td stands for "table data," which is the content of a data cell. A data cell can contain text, images, lists, paragraphs, forms, horizontal rules, tables
 
webmaster forum
polas  Offline
Activity
33.33%
 
Code Guru
Gender: Male
Posts: 1399
Topics: 85
WWW
September 12, 2008, 02:54:08 AM

I find http://www.w3schools.com/html/html_tables.asp asquite helpful as a reference for things like this, which I dont do all that often.

Mesham Type Oriented Parallel Programming Language, Free online technical support
 
webmaster forum
Activity
0%
 
New Coder
Real name: josaph...
Location: Usa...
Posts: 17
Topics: 2
WWW
July 16, 2010, 11:43:04 PM

 HTML table consists of the table element and one or more tr, th, and td elements, HTML table may also include caption, col, colgroup, thead, tfoot, and tbody elements etc.
Basic HTML code for Table. .

<table border="1">
<tr>
<td> ----- </td>
<td> ----- </td>
</tr>
<tr>
<td> ----- </td>
<td> ----- </td>
</tr>
</table>

No Fee Work at Home |Data Entry |Work from home
 
webmaster forum
svr2112  Offline
Activity
0%
 
New Poster
Posts: 8
Topics: 0
August 18, 2010, 04:33:07 AM

WHOA. . . what *exactly* is it you are trying to accomplish here?
Because this would almost certainly be the wrong solution 999 times out of 1000.

What are the possible values for $variable_name? I do hope it's not: joes_contacts, freds_contacts, marys_contacts. . . etc.

That would be wrong.

What you would want would be:

CREATE TABLE contacts
(
id
owner -- Use this instead of variable_name
name
contact
);

owner field would be foreign keys to joe, fred and mary.

Then you just make owner a part of a where clause in a select, rather than the table name.


____________

 Income Protection Insurance| Life Insurance Quotes
 
webmaster forum
playnstop  Offline
Watch Online Movie
Playnstop.com
Activity
0%
 
New Coder
Gender: Male
Age: 21
Posts: 18
Topics: 1
Playnstop Wath Free clear playnstop
WWW
August 21, 2010, 03:49:44 PM

<table>            Defines a table
<th>            Defines a table header
<tr>                    Defines a table row
<td>            Defines a table cell
<caption>            Defines a table caption
<colgroup>    Defines a group of columns in a table, for formatting
<col />            Defines attribute values for one or more columns in a table
<thead>            Groups the header content in a table
<tbody>            Groups the body content in a table
<tfoot>            Groups the footer content in a table

Free Watch Online Movies
 
webmaster forum
Activity
0%
 
New Poster
Posts: 3
Topics: 0
February 01, 2011, 05:20:44 AM

Hi,
    Table can be easily created in html using html tags.
<table>------>specifies the table
<tr>------->table row
<td>------->table data

example:


<table>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page February 02, 2012, 05:52:47 PM