Tag Inside Table in HTML

The Tutorial illustrates an example from Tag Inside Table in HTML.In this code we define a HTML page and show you to create a tag inside a Table in HTML.

Ads

Tag Inside Table in HTML

     

The Tutorial illustrates an example from Tag Inside Table in HTML.In this code we define a HTML page and show you to create a tag inside a Table in HTML. The following tags used in code to create tag inside table in HTML are -

<tr> : The <tr> tag is used to create   table rows.

<td> :The <td> tag is used to create a table cell in HTML page.

<ul> :The <ul> indicate unordered list.

<li> :The list item begin with <li> ,which marks with a bullet in HTML page.

Source Code

 

 

<html>
<body>

<table border="1">
<tr>
<td>
<p>Welcome to Online Web shooping website</p>
<p>Products</p>
</td>
<td>This cell contains a table:
<table border="1">
<tr>
<td>Flowers</td>
<td>Toys</td>
</tr>
<tr>
<td>Shirts</td>
<td>Trousers</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>This cell contains a list
<ul>
<li>Flowers</li>
<li>Toys</li>
<li>Shirts</li>
<li>Trousers</li> 
</ul>
</td>
<td> Hi </td>
</tr>
</table>
</body>
</html>

The code is saved with .html extension. Place the path of saved html code in URL of your browser.

Output is displayed as

Download Source

Advertisements

Ads
Share on Google+Share on Google+

Tag Inside Table in HTML

Posted on: December 13, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

Ads
 

Discuss: Tag Inside Table in HTML  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:2
dinesh
June 11, 2012
Framework

Hi i am new for framework in java platform so like to learn spring 3 MVC. my question is which framework learn best for beginner at beginning time? And i didn't understand the concept of configuring web.xml file in eclipse.
ravishankar
July 16, 2012
Testing

hello how are you man

Ads

 

Ads