Page 46 - TP_V5.1_C7_fb
P. 46
<TR>
<TD>2016/0256</TD>
<TD>Aadya Kaushal</TD>
<TD>589</TD>
</TR>
<TR>
<TD>2017/0865</TD>
<TD>Shweta Kaushal</TD>
<TD>545</TD>
</TR>
</TABLE>
</BODY>
</HTML>
STYLING TABLES USING CSS
CSS allows us to style tables for a single HTML page. It is defined using the <Style> tag in the head
section of the HTML document.
Syntax of using the <STYLE> tag:
<HEAD>
<STYLE>
Tag_Name Selector: We write the name of the tag to be styled here.
{
Declaration Box: We mention the tag properties that
Property_name: value;
need to be styled along with the properties in it. The two
} parts of a declaration box are name and value. A property
along with its value is called a declaration.
</STYLE>
</HEAD>
PURE CSS (Cascading Style Sheets) was first proposed by Håkon Wium Lie on October 10, 1994
FACT while working with Tim Berners-Lee at CERN.
44 Premium Edition-VII

