Can anyone explain rowspan and colspan, col and colgroup? And are these W3C valid and semantically correct? Under which circumstances are these useful?
Can anyone explain rowspan and colspan , col and colgroup ? And are these
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
colspan
rowspan
w3c
as you see, this is for connecting table-cells – and because this is sometimes neccessary, it’s valid (RegDwights links will give more information…).
col/colgroup
colgroupandcolare used to set attributes to every line in the table (so you don’t have to writewidth="80"for the firsttdin every line(tr)):you can also group the cols, lets say the first and second column should get a
withof 80, the third should get 320: