atar.yosef Posted November 6, 2009 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 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 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 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 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 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
Archived
This topic is now archived and is closed to further replies.