Recommended markup for simple form

C

chlori

What's the recommended markup für a simple form, e.g:

Name: [form field 1]
Phone number: [form field 2]

It's for a site using CSS for layout (no tables).

- Is a form like that considered as tabular data?
- Should I use <div>s?

Thanks
 
S

Stan McCann

chlori said:
What's the recommended markup für a simple form, e.g:

Name: [form field 1]
Phone number: [form field 2]

It's for a site using CSS for layout (no tables).

- Is a form like that considered as tabular data?
- Should I use <div>s?

You'll probably get some differences of opinion here. I consider it
tabular data so a table is appropriate. I consider Name, Phone Number,
etc. as appropriate for said:

You're welcome.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top