th
th
<th> is an HTML tag too.
Maybe, <th> means table head or header.
Whatever, we use <th> tag to make table heading.
Maybe, it works like the h1-h6 tags.
Because they are heading tag and <th> is also a heading tag.
Maybe,
<th> tag must use in table tag and tr tag.
EXAMPLE :
<!DOCTYPE html>
<html>
<head>
<title>TITLE WOULD BE GO HERE </title>
</head>
<table>
<tr>
<th> TABLE HEADING WOULD BE GO HERE </th>
</tr>
<tr>
<td> TABLE DATA WOULD BE GO HERE </td>
</tr>
</table>
</html>
ANSWER :
____________________________________
|TABLE HEADING WOULD BE GO HERE|
------------------------------------------------------
|TABLE DATA WOULD BE GO HERE |
-------------------------------------------------------
↑
↑
↑
↑
↑
( I HAD JUST TRIED TO MAKE A TABLE )
}
ANSWER :
____________________________________
|TABLE HEADING WOULD BE GO HERE|
------------------------------------------------------
|TABLE DATA WOULD BE GO HERE |
-------------------------------------------------------
↑
↑
↑
↑
↑
( I HAD JUST TRIED TO MAKE A TABLE )
}
So, this is the coding of <th> tag.
IF YOU WANT TO LEARN MORE ABOUT WEB DESIGN AND DEVELOPMENT THAN YOU SHOULD VISIT W3SCHOOLS WEB SITE. BECAUSE I AM NOT A PROFESSIONAL WEB DESIGNER OR DEVELOPER. I AM LEARNING WEB DESIGN AND DEVELOPMENT. I AM WRITING HERE FOR MY PARICTISING AND WISH TO EARN SOME MONEY THOROUGH GOOGLE ADESANSE.
IF YOU WANT TO LEARN MORE ABOUT WEB DESIGN AND DEVELOPMENT THAN YOU SHOULD VISIT W3SCHOOLS WEB SITE. BECAUSE I AM NOT A PROFESSIONAL WEB DESIGNER OR DEVELOPER. I AM LEARNING WEB DESIGN AND DEVELOPMENT. I AM WRITING HERE FOR MY PARICTISING AND WISH TO EARN SOME MONEY THOROUGH GOOGLE ADESANSE.
No comments