ad

Sunday, November 30, 2025

What is the TD tag in HTML

What is the TD tag in HTML

https://webdesigningtheory.blogspot.com

Syntax 

 Syntax of HTML <dl> tag


<dl>
.
.
</dl>

What is the TD tag in HTML

Example 

<!DOCTYPE html>
<html>
    <head>
        <title> html td tag </title>
        <style>
          table,th,td{
              border:1px solid black;
          }
        </style>
            </head>
            <body>
                <h2>HTML td Tag </h2>
                <table>
                      <tr>
                        <td>HTML</td>
                        <td>PHP</td>
                          </tr>                  
                          <tr>
                            <td>C</td>
                            <td>JavaScript</td>
                          </tr>
                         
                </table>
            </body>
</html>


What is the TD tag in HTML

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>
        <title> html td tag </title>

  • <head> contains metadata webpage resources.

  • <title> title tag webpage browser tab.

<style>
          table,th,td{
              border:1px solid black;
          }
        </style>

  HTML code Apply the Style <table>,<th>,<td>.

          1px solid black 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>
                <h2>HTML td Tag </h2>

  • <body>  contains data visible of your webpage.
  •  <h2>   2-level heading displaying HTML TD TAG  on page.

Step 5]

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

  •  <table> creates table  on the webpage.
  •  <tr> tag    ->  tr tag define a table row.
  • <td> tag   -> td tag define table cell (Data call) within row.
  • first row contains 2- cell HTML & PHP.
  • Second row Contains 2- cell  C & JavaScript 

Step 6]

closing the Tag


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

What is the TD tag in HTML
Output

What is the TD tag in HTML







Related Post :-

html list attribute tag

html form tag

html frame tag

Saturday, November 29, 2025

what is th tag in HTML

what is th tag  in HTML

https://webdesigningtheory.blogspot.com

what is th tag  in HTML

Syntax 

 Syntax of HTML <th> tag


<th>
.
.
</th>

what is th tag  in HTML

Example 

<!DOCTYPE html>
<html>
    <head>
        <title> html th tag </title>
            </head>
            <body>
                <h2>HTML th Tag </h2>
                <table>
                      <tr>
                        <th>HTML</th>
                        <th>PHP</th>
                          </tr>                  
                          <tr>
                            <th>C</th>
                            <th>JavaScript</th>
                          </tr>
                         
                </table>
            </body>
</html>


what is th tag  in HTML

Explain Program

Friday, November 28, 2025

what is the dt tag in html

what is the dt tag in html

web designing theory

what is the dt tag in html

Syntax 

 Syntax of HTML <dt> tag


<dt>
.
.
</dt>

what is th tag  in HTML

Example

<!DOCTYPE html>
<html>
 <title> HTML dt Tag </title>  
<body>
  <h2>HTML dt tag </h2>
  <p>  easy to learn https://webdesigningtheory.blogspot.com/</p>
   <dl>
    <dt>HTML</dt>
    <dt>PHP</dt>
    <dt>C</dt>
   </dl>
  </body>
</html>


what is the dt tag in html

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]

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

<body> tag contains  all the visible content of the page.

inside <body> show the browser screen.

<h2>HTML dt tag </h2>

<h2> tag  is a heading.

<h2> second level  heading tag. 

Step 4]

<p>  easy to learn https://webdesigningtheory.blogspot.com/</p>

<p> tag Paragraph  tag.

display the text.

Step 5]

 <dl>

<dl> tag  means Definition list.

<dl> tag use list terms  and definition.

<dt>

<dt> tag  stands for Definition term

<dl> tag represents a word defines in <dl>  list .

<dt> tag  use  page  will show list of term

<dt>HTML</dt> -> Term 1
    <dt>PHP</dt> -> Term 2
    <dt>C</dt> -> Term 3

Step 6]

   Closing tag  

   
</dl>
</body>
</html>


what is the dt tag in html

Output

what is the dt tag in html







Related Post :-

html how to insert table cells

how to add line breaks in html

how to create paragraphs in html

Thursday, November 27, 2025

what is the dl tag in html

 what is the dl tag in html

web designing theory

what is the dl tag in html

Syntax 

 Syntax of HTML <dl> tag


<dl>
.
.
</dl>

Example 

<!DOCTYPE html>
<html>
  <body>
    <h1> The HTML dl,dd,dt tag element </h1>
    <p>three tag use </p>
    <dl>
      <dt>HTML</dt>
      <dd>Structure of web  content</dd>
      <dt>PHP</dt>
      <dd>create dynamic page</dd>
    </dl>
  </body>
</html>

what is the dl tag in html

Explain Program

Step  1] 

<!DOCTYPE html>

This declare the document type.

browser that the document is written in html

Wednesday, November 26, 2025

how to create table tag in html

How to create table tag in html

https://webdesigningtheory.blogspot.com

how to create table tag in html

Example 

<!DOCTYPE html>
<html>
  <head>
    <style>
      table, th,td {
         border:1px solid black;
      }
    </style>
  </head>
<body>
<h1>  Table tag html</h1>
  <table>
    <tr>
       <th> subject </th>
       <th> website</th>
    </tr>
    <tr>
      <th> HTML</th>
      <th> webdesigningtheory.blogspot.com</th>
    </tr>
    <tr>
      <th>PHP</th>
      <th> webdesigningtheory.blogspot.com</th>
    </tr>
  </table>
 
</body>
</html>

how to create table tag in html

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.

Step 4]

 
<style>
      table, th,td {
         border:1px solid black;
      }
</style>

 <style> tag is use to write css inside the HTML file.

CSS appearance of the webpage ( border, layout, fonts, color width, height ...etc )
 
   CSS Style 
  •  <table>  :-  create whole table .
  •  <th>      :-  create header cells.
  •  <td>     :-   create table data cells.
     border:1px solid black;
   
  1 px solid black border.  

          entire  table 
          header cell
         data cell

 
  ..</Style>
     
  End the css section 

..</head>

    End the head part
 
Step 5]

 <h1>  Table tag html</h1>

  <h1> is the main heading  of the page
       table tag html


<tr>
       <th> subject </th>
       <th> website</th>
    </tr>



  •  table row ( <tr> )  tag html
  •  <tr> tag defines a single row in table.   
  •  define table row 
 
  •  <th> tag  (table header cells) 
  •  Text  bold and  Text Centered by default
  •   use for column titles 
 Step 6]

   Closing tag


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

 

  • <table>,<body>,<html>  tag contains  all the visible content of the page.
  • </table> ends the table.
  • inside <body> show the browser screen.
  • </html>  ends the HTML document 

how to create table tag in html

Output

how to create table tag in html








Related Post :-

how to use the html button input

how to create ordered lists in html

html alignment tag

Tuesday, November 25, 2025

how to use the pre tag in html

how to use the pre tag in html

web designing theory

<Pre> tag Syntax

Syntax 

 Syntax of HTML <Pre> tag


<pre>
.
.
</Pre>

  • <pre> tag  defines preformatted text. text in <pre> element display fixed-width font and text preserves.
  •  <pre> tag  use preserves  space, fixed-width ,line breaks 

how to use the pre tag in html
Example 

<!DOCTYPE html>
<html>
<body>
<h1>The pre Element</h1>
<pre>
    Text pre html tag
      pre tag displayed in a fixed-width,
        text font and it preserves
          both width and font spaces
             line breaks  automated create pre tag html
       
</pre>
</body>
</html>

how to use the pre tag in html

Explain Program

Step  1] 

<!DOCTYPE html>

This declare the document type.

browser that the document is written in html

Monday, November 24, 2025

What is the html BR tag with example

What is the html BR tag with example

web designing theory

What is the html BR tag with example

Syntax 

 Syntax of HTML <Br> tag


<br>
.
.
</br>

Example 



<!DOCTYPE html>
<html>
    <body>

     
      <h2> Web designing theory blogspot.com</h2>
      <p>
       webdesigningtheory.blogspot.com<br>
        web designing theory offers simple and practical lessons <br>
        in programming and web design.<br>
        join us and start learning today.</p>
    </body>
</html>

What is the html BR tag with example

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]

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

<body> tag contains  all the visible content of the page.

inside <body> show the browser screen.

Step 4]

<h2> Web designing theory blogspot.com</h2>

<h2> level 2 heading tag.

this line displays web designing theory blogspot .com heading bold & larger font.

Step 5]

<p>.....</p>

<p> is paragraph tag use regular text.

inside <p> treated as paragraph.

<br >

<br> tag line break tag.

 Step 6]

closing the Tag


</body>

 </html>

<!DOCTYPE html> → Declares HTML5

<html> → Starts HTML document

<body> → Contains visible content

<h2> → Heading

<p> → Paragraph

<br> → Line break

</body> and </html> → Close body and HTML


What is the html BR tag with example

Output

What is the html BR tag with example


Related Post :-