HTML <col> tagHTML <col> tag is used to specify common column properties for each column within <colgroup> element in an HTML table. The <col> tag is useful when it requires to apply common style rules for each column cell rather than applying individually. SyntaxNote: In HTML <col> tag does not require a closing tag but in XHTML it require a closing </col> tag.Following are some specifications about the HTML <col> tag
Example 1Test it NowOutput: Attribute:Tag-specific Attribute element should contain. The default value of span attribute is 1.
Global AttributeHTML <col> tag supports all Global attributes in HTML. Event AttributeHTML <col> tag supports all event attributes in HTML. Supporting Browsers
|
Javatpoint provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India