Page 128 - CodePilot V5.0 C7
P. 128
RAPID RECALL Tick ( ) if you know this.
1. The padding property sets space on all four sides in one declaration, using units like
pixels or percentages.
2. The background-color property is used to specify the colour for the background
in a table on the web page.
Code Write the HTML code to present the given web page using CSS properties to style the
13 <TABLE> tag.
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Components and Functions
</TITLE>
<STYLE>
TH, TD {
BORDER: 1PX solid #999;
PADDING: 20PX 20PX;
}
</STYLE>
</HEAD>
<BODY>
<TABLE STYLE="WIDTH: 80%; BACKGROUND-COLOR: #F0F8FF; COLOR: #333;">
<CAPTION STYLE="CAPTION-SIDE:BOTTOM;">Components of Artificial
Intelligence and Robotics</CAPTION>
<TR>
<TH STYLE="BACKGROUND-COLOR: #CCE5FF;">Component</TH>
<TH STYLE="BACKGROUND-COLOR: #CCE5FF;">Function</TH>
</TR>
<TR>
<TD>Machine Learning</TD>
<TD>Allows systems to learn from data and improve over time</TD>
</TR>
126
CodePilot (V5.0)-VII

