KRISTU JYOTI CONVENT SCHOOL
Class: 10th Subject – Computer
HTML codings for the practical paper:
A: HTML
1. Basic HTML Tags:
Example:1
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
2. Heading Tags:
Example:2
<!DOCTYPE html>
<html>
<body>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</body>
</html>
3. Changing background color text color text alignment font family and font size
Example 3:
<!DOCTYPE html>
<html>
<body>
<p style="background-color:lightblue; text-align: center; color:red;font-size:20px;">
It is centered aligned and the font size is set to 20 pixels. Background color is light blue and the text
color is red.
</p>
<br>
<p style="background-color:yellow
</p>
</body>
</html>
4. Image tag
Example 4:
<!DOCTYPE html>
<html>
<body>
<img src="F\Andromeda\Beach picture. Png” alt= “Picture of a beach” width="500" height="333">
</body>
</html>
5. Creating numbered list
Example 5:
<!DOCTYPE html>
<html>
<body>
<h2>An ordered HTML list</h2>
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
</body>
</html>
6. Creating Table
Example 6:
<!DOCTYPE html>
<html>
<style>
table, th, td {
border:1px solid black;
}
</style>
<body>
<h2>TD elements define table cells</h2>
<table>
<tr>
<th>Name</th>
<th>Class</th>
<th>Roll_No</th>
</tr>
<tr>
<td>Reema</td>
<td>10th</td>
<td>12</td>
</tr>
</table>
</body>
</html>
B: Excel
[Link] a marks sheet in excel.
C:Ms Word
[Link] tables in Microsoft Word
[Link] a flow chart or smart art on disadvantages of social media.