Social Sciences, asked by rahul391224, 7 months ago

what other tags can be used in the table tag? ​

Answers

Answered by Anonymous
4

<body bgcolor="blue"

TABLE TAG –

The table tag is used for creating a table .

A table is used to arrange the data in the form of row and column. When data is arranged in a table, it looks more organised.

For example–

If your class teacher tells you to create a class list with the provision of Palam which can store marks in different subject then the best way to do the task is to use table.

the process of creating an HTML table is similar to the process that you used to create your web page and any elements that you may have already included in your page, such as links.

Coding HTML tables into your webpage is fairly easy since you need only understand a few basic table codes.

CREATING TABLE IN HTML

<TABLE

ALIGN= "LEFT / RIGHT / CENTER"

BGCOLOUR= "COLOUR"

BORDER= "VALUE"

CELLPADDING= "VALUE"

CELLSPACING= "VALUE"

HEIGT= "HEIGHT"

WIDTH= "WIDTH"

>

........

</TABLE>

the attribute of <table> tag

⛤ ALIGN

It specify the horizontal placement off the table. This attribute can take one of the following values: LEFT, RIGHT or CENTER.

⛤ BGCOLOUR

This attribute sets the colour of the background for the table.

⛤ BORDER

This attribute is used to draw border around the table.

⛤ HEIGT

The HEIGHT attribute specifies the height of the table.

⛤ WIDTH

The WIDTH attribute specifies the width of the table.

⛤ CELLPADDING

The CELLPADDING attribute of the table tag determine the amount of space between the border of a cell and the content inside it.

⛤ CELLSPACING

The CELLSPACING attribute determine the amount of space between individual cells in a table.

_____________________________

&lt;html&gt;</p><p></p><p>&lt;head&gt;</p><p></p><p>&lt;style&gt;</p><p></p><p>h1{</p><p></p><p>text-transform:uppercase;</p><p></p><p>margin-top:90px;</p><p></p><p>text-align:center;</p><p></p><p>font-family:Courier new,monospace;</p><p></p><p>border:3px solid rgb(60,450,500);</p><p></p><p>border-top:none;</p><p></p><p>width:90%;</p><p></p><p>letter-spacing:-6px;</p><p></p><p>box-sizing:border-box;</p><p></p><p>padding-right:5px;</p><p></p><p>border-radius:6px;</p><p></p><p>font-size:35px;</p><p></p><p>font-weight:bold;</p><p></p><p>}</p><p></p><p>h1 span{</p><p></p><p>position:relative;</p><p></p><p>display:inline-block;</p><p></p><p>margin-right:3px;</p><p></p><p>}</p><p></p><p>@keyframes shahir{</p><p></p><p>0%</p><p></p><p>{</p><p></p><p>transform: translateY(0px) rotate(0deg);</p><p></p><p>}</p><p></p><p>40%</p><p></p><p>{</p><p></p><p>transform: translateY(0px) rotate(0deg);</p><p></p><p>}</p><p></p><p>50%</p><p></p><p>{</p><p></p><p>transform: translateY(-50px)rotate(180deg);;</p><p></p><p>}</p><p></p><p>60%</p><p></p><p>{</p><p></p><p>transform: translateY(0px)rotate(360deg);;</p><p></p><p>}</p><p></p><p>100%</p><p></p><p>{</p><p></p><p>transform: translate(0px)rotate(360deg);;</p><p></p><p>}}</p><p></p><p>h1 span</p><p></p><p>{</p><p></p><p>animation: shahir 3s alternate infinite linear;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(1)</p><p></p><p>{color:lime;</p><p></p><p>animation-delay: 0s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(2)</p><p></p><p>{color:lightmaroon;</p><p></p><p>animation-delay: 0.2s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(3)</p><p></p><p>{color:red;</p><p></p><p>animation-delay:0s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(4)</p><p></p><p>{color:green;</p><p></p><p>animation-delay: 0.4s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(5)</p><p></p><p>{color:blue;</p><p></p><p>animation-delay: 0.5s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(6)</p><p></p><p>{color:purple;</p><p></p><p>animation-delay: 0.3s;}</p><p></p><p>&lt;/style&gt;</p><p></p><p>&lt;meta name="viewport" content="width=device-width" &gt;</p><p></p><p>&lt;/head&gt;</p><p></p><p>&lt;body&gt;&lt;center&gt;&lt;div&gt;&lt;h1&gt;&lt;span&gt;A&lt;/span&gt;&lt;span&gt;A&lt;/span&gt;&lt;span&gt;R&lt;/span&gt;&lt;span&gt;O&lt;/span&gt;&lt;span&gt;H&lt;/span&gt;&lt;span&gt;I&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;/div&gt;&lt;/center&gt;&lt;/body&gt;&lt;/html&gt;

Similar questions