Html 5 datagrid tag

In the html5 <datagrid> is used to indicate a datagrid and which represents tree,list or tabular data. The <datagrid> tag was introduced in HTML 5.In the data is a set of rows and it representing tree and each row to spilt in to number of columns.

Example Code

<datagrid>
 <ol>
   <li> (datagrid row a)
    <li> (datagrid row b)
     <ol style="list-style-type:lower-alpha;">
   <li> (datagrid row a,a)
  <li> (datagrid row b,b)
  </ol>
  </li>
   <li> (datagrid row c)
  </ol>
</datagrid>

Out Put:



  1. (datagrid row a)
  2. (datagrid row b)
    1. (datagrid row a,a)
    2. (datagrid row b,b)
  3. (datagrid row c)

In the example we has used datagrid content at ordered list and it zero based indices. In the first Row is row a and next row is row b. Row b has a child,which is referred to as row b,a.





Content