ad

Showing posts with label html td tag. Show all posts
Showing posts with label html td tag. Show all posts

Sunday, November 30, 2025

What is the TD tag in HTML

What is the TD tag in HTML

https://webdesigningtheory.blogspot.com

This Blog You Will Learn 

What is the <td> tag in HTML?
Why use the <td> tag
Syntax of HTML <dl> tag
Explain Program
Output

Monday, November 10, 2025

What is the html td tag

 What is the HTML  <td> tag

https://webdesigningtheory.blogspot.com

What is the HTML  <td> tag

Example 


<!DOCTYPE html>
<html>
    <head>
        <title> html td tag </title>
        <style>
          table,th,td{
              border:2px solid rgb(212, 7, 7);
          }
        </style>
            </head>
            <body>
                <h2>HTML td Tag  </h2>
                <P> Learn Free programming languag :-
<br>webdesigningtheory.blogspot.com</P>
                <table>
                      <tr>
                        <th>Subject </th>
                        <th>Learn </th>
                          </tr>
                           <tr>
                        <td>HTML</td>
                        <td>Free </td>
                          </tr>                  
                          <tr>
                            <td>PHP</td>
                            <td>Free</td>
                          </tr>
                          <tr>
                            <td>JavaScript </td>
                            <td>Free</td>
                          </tr>
                </table>
            </body>
</html>

What is the HTML  <td> tag

Explain Program

Step  1] 

<!DOCTYPE html>

This declare the document type.

browser that the document is written in html

Step 2 ]

<html>.... . </html>

html is the root element of the html page.

 Every thing inside it is part of the webpage.

Step 3]

<head>.....</head>

head section contain metadata  about the webpage information 

for the browser not display on the webpage.

<title> html td tag </title>

 sets the title of page appears the browser tab

 
<style>
          table,th,td {
              border:2px solid rgb(212, 7, 7);
          }

  •   HTML code Apply the Style <table>,<th>,<td>.
  •   2 px solid red color    

   CSS applies 

  • <style> Tag 
  • <style> tag use to include CSS (Cascading Style Sheets) directly within HTML Document .
  • Inside the <head> Section html.
   
</style>
       .
.
    .
</style>

 CSS code defines HTML element 

<body>.....</body>

  • <body> tag contains  all the visible content of the page.
  • inside <body> show the browser screen. 

Step 4]

<body>

 body section  tag every data inside <body> is visible on web page.

<h2>HTML tr Tag  </h2>

webpage  page shows heading on the page.

Step 5]

 
<P> Learn Free programming languag :- <br>webdesigningtheory.blogspot.com</P>
             

  • <P>  (Paragraph)  tag 
  •  <p> tag Create a paragraph.
  • <br> add line break moving text to next line.

 row creates headings 

Step 6]


<table>
         

HTML  <table> tag Start of Table

Step 7]

 
                    <tr>
                        <th>Subject </th>
                        <th>Learn </th>
                          </tr>
                       

 first  Table Header row 

  •    <tr>   =  table row                    
  •   <th>  = table header cell 

Step 8]

 
<table>                     
                           <tr>
                        <td>HTML</td>
                        <td>Free </td>
                          </tr>                  
                          <tr>
                            <td>PHP</td>
                            <td>Free</td>
                          </tr>
                          <tr>
                            <td>JavaScript </td>
                            <td>Free</td>
                          </tr>
                </table>

Second Row 

  •   <td>   = table data cell
  •   <td> tag row displays.

     HTML | Free

Third Row 

  •   <td>   = table data cell
  •   <td> tag row displays. 

      PHP | Free

Fourth Row 

  •   <td>   = table data cell
  •   <td> tag row displays.

       JavaScript | Free

Step 9]

closing the Tag

</table>
            </body>
</html>

What is the HTML  <td> tag

Output


What is the HTML  <td> tag








Related Post :-

how to use the video tag in html

how to create a horizontal frameset in html

how to create top navigation menu