How are cells of a table impacted by declaring an event in a col element?
问题 When an event, such as onclick, is declared in a col element for an HTML table does that event impact the cells referenced by the col element? Is the event ignored? Does something else happen? 回答1: Great question. The spec says: <!ATTLIST COL -- column groups and properties -- %attrs; -- %coreattrs, %i18n, %events --- where %events says: <!ENTITY % events "onclick %Script; #IMPLIED -- a pointer button was clicked -- ondblclick %Script; #IMPLIED -- a pointer button was double clicked--