html with table and attributes

We can apply different attributes to table.
<html> <!--called root tag-->
<head> <!--contains meta information of page-->
<title><!--contains title of page-->
understanding table tag
<!--we have using heading-->
<h1>we are going to creat table</h1>
<!--we use table tag with attribute border to change its border width. otherwise there will no border-->
<table border="1" width="100%">
<!--we use tr(table data) tag to create row-->
<!--we use tag td (table data)to create 
<!--it creats three cells with respective data-->
<!--closing of first row-->
<!-- again we create second row-->
<!--closing of table tag-->


No comments:

Post a Comment