How to use colgroup tag


<colgroup>

All Tags not showing in online page, but show on view source.

<table>
  <colgroup>
    <col style="background:yellow">
    <col style="background:green">
  </colgroup>
  <tr>
    <th>Roll no</th>
    <th>Name</th>
  </tr>
  <tr>
    <td>11</td>
    <td>Raj</td>
  </tr>
  <tr>
    <td<12</td>
    <td>Ravi</td>
  </tr>
</table>

Code show like this:

Roll no Name
11 Raj
12 Ravi

Browser Support

The <colgroup> tag is supported in all major browsers.

What is colgroup tag

Colgroup tag is column group. basically use for col group.

How to use col tag


<col>

All Tags not showing in online page, but show on view source.

<table>
  <colgroup>
    <col style="background:yellow">
    <col style="background:green">
  </colgroup>
  <tr>
    <th>Roll no</th>
    <th>Name</th>
  </tr>
  <tr>
    <td>11</td>
    <td>Raj</td>
  </tr>
  <tr>
    <td<12</td>
    <td>Ravi</td>
  </tr>
</table>

Code show like this:

Roll no Name
11 Raj
12 Ravi

Browser Support

The <col> tag is supported in all major browsers.

What is col tag

Col tag means column. basically use for table columns you can change column property with col tag.

How to use code tag


<code>

All Tags not showing in online page, but show on view source.

<code>Words of computer code</code>

Code show like this:

Words of computer code

Browser Support

The <code> tag is supported in all major browsers.

What is code tag

The code tag using for words of computer code

How to use cite tag


<cite>

All Tags not showing in online page, but show on view source.

<p><cite>India</cite> is most powerfull country.</p>

Code show like this:

India is most powerfull country.

Browser Support

The <cite> tag is supported in all major browsers.

What is cite tag

The cite tag using for the title of a work, like a movie, painting.

Difference in HTML 4.01

cite tag is used to citation in HTML 4.

Difference in HTML5

cite tag is used to the title of a work in HTML5.

Character code in html

&quot;
&&amp;
<&lt;
>&gt;
&euro;
&nbsp;
Á&Aacute;
á&aacute;
Â&Acirc;
â&acirc;
´&acute;
Æ&AElig;
æ&aelig;
À&Agrave;
à&agrave;
Å&Aring;
å&aring;
Ã&Atilde;
ã&atilde;
Ä&Auml;
ä&auml;
¦&brvbar;
Ç&Ccedil;
ç&ccedil;
¸&cedil;
¢&cent;
ˆ&circ;
©&copy;
¤&curren;
°&deg;
÷&divide;
É&Eacute;
é&eacute;
Ê&Ecirc;
ê&ecirc;
È&Egrave;
è&egrave;
Ð&ETH;
ð&eth;
Ë&Euml;
ë&euml;
ƒ&fnof;
½&frac12;
¼&frac14;
¾&frac34;
Í&Iacute;
í&iacute;
¡&iexcl;
Ì&Igrave;
ì&igrave;
¿&iquest;
Ï&Iuml;
ï&iuml;
«&laquo;
¯&macr;
µ&micro;
·&middot;
¬&not;
Ñ&Ntilde;
ñ&ntilde;
Ó&Oacute;
ó&oacute;
Ô&Ocirc;
Œ&OElig;
œ&oelig;
Ò&Ograve;
ò&ograve;
ª&ordf;
º&ordm;
Ø&Oslash;
ø&oslash;
Õ&Otilde;
õ&otilde;
Ö&Ouml;
ö&ouml;
&para;
±&plusmn;
£&pound;
»&raquo;
®&reg;
Š&Scaron;
š&scaron;
§&sect;
­&shy;
¹&sup1;
²&sup2;
³&sup3;
ß&szlig;
Þ&THORN;
þ&thorn;
˜&tilde;
×&times;
Ú&Uacute;
ú&uacute;
Û&Ucirc;
û&ucirc;
Ù&Ugrave;
ù&ugrave;
¨&uml;
Ü&Uuml;
ü&uuml;
Ý&Yacute;
ý&yacute;
¥&yen;
Ÿ&Yuml;
ÿ&yuml;
&ndash;
&mdash;
&lsquo;
&rsquo;
&sbquo;

How to use center tag


<center>

All Tags not showing in online page, but show on view source.

<center>Your text is center</center>

Code show like this:

Your text is center

Browser Support

The <center> tag is supported in all major browsers.

Attention: The <center> tag is not supported in HTML5. Use can CSS instead of this.

What is center tag

The center tag using for text center align.

Difference in HTML 4.01

The center tag is supported in HTML 4.01.

Difference in HTML5

The center tag is not supported in HTML5.

How to use caption tag


<caption>

All Tags not showing in online page, but show on view source.

<table border="1" width="200">
  <caption>What is this</caption>
  <tr>
    <th>Petrol</th>
    <th>Onion</th>
  </tr>
  <tr>
    <td>67</td>
    <td>100</td>
  </tr>
</table>

Code show like this:

What is this
Petrol Onion
67 100

Browser Support

The <caption> tag is supported in all major browsers.

What is caption tag

Caption tag using into table, this tag using for caption of table and this tag automaticallly center align

Difference in HTML5

The caption tag is new in HTML5.

How to use canvas tag


<button>

All Tags not showing in online page, but show on view source.

<canvas id="ITCanvas"></canvas>
<script type="text/javascript">
var canvas=document.getElementById('ITCanvas');
var ctx=canvas.getContext('2d');
ctx.fillStyle='#ff6633';
ctx.fillRect(0,0,100,100);
</script>

Code show like this:


Browser Support

The <canvas> tag is supported in all major browsers.

Attention: Internet Explorer 8 and earlier versions, do not support the canvas tag.

What is canvas tag

Tha canvas tag is using for animation. The canvas tag is used to draw graphics, on the fly, via scripting (usually JavaScript).

Difference in HTML5

The canvas tag is new in HTML5.

How to use button tag


<button>

All Tags not showing in online page, but show on view source.

<button>That button are clickable</button>

Code show like this:

Browser Support

The <button> tag is supported in all major browsers.

What is button tag

Button tag is working in outside of form. iThe <button> tag defines a clickable button. If you use the <button> tag in an HTML form, some browsers may submit different values. Use can <input> tag to create buttons in an HTML form.

Differences Between HTML 4.01 and HTML5

HTML5 the following new attributes: autofocus, form, formaction, formenctype, formmethod, formnovalidate, and formtarget.

How to use br tag


<br>

All Tags not showing in online page, but show on view source.

Your line now <br>Break.

Code show like this:

Your line now
Break.

Browser Support

The <br> tag is supported in all major browsers.

What is br tag

The <br> tag useto a line break.