HTML
HTML Basic
HTML Tags
HTML Formatting
HTML Attributes
HTML & Styles
HTML & Scripts
HTML Tables
HTML Lists
HTML Links
HTML Forms
HTML Images
HTML Meta Tags
HTML Layout
HTML Doctypes
HTML CSS
HTML Head
HTML Scripts
HTML Entities
HTML Encoding
HTML5
HTML5 Basic
HTML5 Tags
HTML5 Input Types
HTML5 Video
HTML5 Audio
HTML5 Drag and Drop
HTML5 Canvas
HTML5 SVG
HTML5 Geolocation
CSS
CSS Basic
Applying CSS
CSS Selectors
CSS Colors
CSS Text & Fonts
CSS Borders
CSS Align
CSS Margins & Padding
CSS Grouping & Nesting
CSS Positioning
CSS Floating
CSS Dimension
CSS Display
CSS Pseudo
CSS3
CSS3 Basic
CSS3 Selectors
CSS3 Shadows
CSS3 Gradients
CSS3 Transitions
CSS3 Animations
CSS3 @Font Face
CSS3 Rounded Corners
CSS3 Multi Columns
CSS3 Flexible Box
CSS3 Transform
JavaScript
JS Basic
JS Keywords
JS Statements
JS Variables
JS Operators
JS Functions
JS Objects
JS Guidelines
JS Comparisons
JS If...Else
JS Switch
JS Loop
JS Events
JS Try...Catch
JS Browser Objects
JS Cookies
JS Validation
JS Timer
JS Objects
jQuery
jQuery Core
jQuery Selectors
jQuery Attributes
jQuery Traversing
jQuery Manipulation
jQuery Events
jQuery CSS
jQuery Effects
jQuery Ajax
jQuery Plugins
jQuery Animations
jQuery Utilities
References
HTML References
HTML 5 References
CSS References
CSS3 References
JavaScript References
HTML Code References
Ascii Code References
URL Encode & URL Decode
HTML Encode & HTML Decode
HTML to Text
Home
Html
Col
Span
span attribute for
col
(HTML5)
Number of columns that this column should span.
Values
(Default Value: 1)
Result from the Online TryIt-Editor
<!doctype html> <html> <head> <title>HtmlNest.com live html example</title></head> <body> <table border="1px"> <col style="background-color: #a0f0a0;"> <col span="2" style="background-color: #a0a0f0;"> <tbody> <tr> <td>Apple</td> <td>$5</td> <td>$10.7</td> </tr> <tr> <td>Pear</td> <td>$10.50</td> <td>$8.20</td> </tr> <tr> <td>Peach</td> <td>$23.30</td> <td>$19.45</td> </tr> </tbody> </table> </body></html>
1.0
1.0
1.0
4.0
7.0
Examples having uses of html attribute 'span'
Newest examples
Most popular examples
Most views examples
3 votes
9k views
jQuery Basic Manipulation
jQuery provides methods to manipulate documents in efficient way. You do not need to write big code to modify the value of any element's attribute or to extract HTML code from a paragraph or division.
1 votes
1k views
jQuery Selectors Types
jQuery selectors allow you to select and manipulate HTML elements as a group or as a single element.
1 votes
1k views
jQuery Remove Element
Using jQuery manipulation methods, we can remove elements.
1 votes
1k views
jQuery User Controlled Animation
jQuery Animate can function supports animation in different directions
1 votes
2k views
HTML Table Rowspan
Table rowspan sets how many rows a cell spans and rowspan extends cells on a vertical row.
0 votes
1k views
CSS Text
Styling HTML elements with font-family, color, and font-size properties defines the font, color, and size of the text in an element.
0 votes
13k views
HTML Table Layout
Table layout styled with CSS attributes and managed by HTML class attribute.
0 votes
12k views
URL Encoding
In JavaScript there are functions that can be used to URL encode a string. In JavaScript you can use the encodeURI function
0 votes
2k views
jQuery DOM Traversing and locating elements
Jquery traversing methods can be used to locate all the descendent elements of a particular type of elements.
0 votes
1k views
jQuery Create Element
jQuery provides methods to manipulate documents in efficient way. Using jquery manipulation methods, we can insert element in given document. Like here we add a new element before the blue square.
0 votes
1k views
jQuery Replace Element
Using jquery manipulation methods, we can replace elements with another elements.
0 votes
1k views
jQuery Mouse Event
jQuery mouse events are events that have to do with actions of the mouse. These can be a click, double-click, mouse down and more. Mouse events can be used in two different ways.
0 votes
1k views
HTML Table Column
Table cells can span across more than one column or row. The attributes colspan and rowspan indicate how many columns or rows a cell should take up.
Useful Information
Contact
Privacy Policy
Copyright 2014 htmlnest.com.
All Rights Reserved.