Jump to content

What tag is best for a semantic form?


Recommended Posts

Look at this one first


<tag2><label>Name:<input type="text" name="name" id="name"></label></tag2>
<tag2><label>Email:<input type="email" name="email" id="email"></label></tag2>
<tag2><label>Telephone:<input type="tel" name="tel" id="tel"></label></tag2>
<tag2><label>Comment<br><textarea rows="4" cols="60" maxlength="300" name="comment" placeholder="No more than 300 characters long"></textarea></label></tag2>
Could you please tell me what tag should i use ? I'm thinking of ul,ol,p,div,dl .. But, i don't know which one to choose...
Edited by terryds
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...