atar.yosef Posted November 6, 2009 Report Share Posted November 6, 2009 Hello fellows!!!!I would like to hear your opinion, what is the difference between the <col> tag to the <colgroup> tag, because according to my experiments, these both tags behave the same, can someone who know what is anyway the difference? Link to comment Share on other sites More sharing options...
jeffman Posted November 6, 2009 Report Share Posted November 6, 2009 Ideally, element tags should have a meaning, not just a special appearance. Browsers like IE or Firefox do not care very much about that, but some browsers do, especially bots that read pages for indexes like Google, and also browsers designed for people with disabilities. All you're probably looking at now is appearance. But these other browsers are concerned with the meaning, and a colgroup should mean something different from a column. Link to comment Share on other sites More sharing options...
atar.yosef Posted November 7, 2009 Author Report Share Posted November 7, 2009 Ideally, element tags should have a meaning, not just a special appearance. Browsers like IE or Firefox do not care very much about that, but some browsers do, especially bots that read pages for indexes like Google, and also browsers designed for people with disabilities. All you're probably looking at now is appearance. But these other browsers are concerned with the meaning, and a colgroup should mean something different from a column.OK, so what is the difference at the meaning of these two tags? Link to comment Share on other sites More sharing options...
Ingolme Posted November 7, 2009 Report Share Posted November 7, 2009 A <col> element indicates that all the vertical table cells are related to eachother, forming a column.A <colgroup> element indicates that several columns are related and can be grouped together. Link to comment Share on other sites More sharing options...
atar.yosef Posted November 9, 2009 Author Report Share Posted November 9, 2009 A <col> element indicates that all the vertical table cells are related to eachother, forming a column.A <colgroup> element indicates that several columns are related and can be grouped together.Thank you about your relationship, but I already succeed to group several columns together and form (style) them as a one unit by adding the attribute "span" to the <col> element.For this reason, still these two elements are apparently eual. Link to comment Share on other sites More sharing options...
Synook Posted November 9, 2009 Report Share Posted November 9, 2009 For this reason, still these two elements are apparently eual.Their appearance may be equal, but their meaning is not. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now