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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top