Professional Documents
Culture Documents
Previous Practical Training Codes Year 8
Previous Practical Training Codes Year 8
Year 8
Html CODE
My school web
<head>
<title>My School </title>
</head>
<body bgcolor="magenta"dir="rtl">
<center>
<font face="tahoma"color="red" size="6">MY School</font>
<br>
<font face="andalus"color="purble"size="5">
<a herf="home.html">Main Page</a>
<a herf="home.html">our school</a>
<a herf="home.html">photos</a>
<a herf="home.html">vision&mission</a>
<a herf="home.html">contact us</a>
<br><br>
<img src="school.png"height="100"width="80">
</center>
</body>
</html>
Emotion
<p style="font-size:100px">💻</p>
<p>I will display 💻</p>
<p>I will display 💻</p>
Frames
<html>
<body>
<h2>HTML Iframes</h2>
<p>You can use the height and width attributes to specify the size of the iframe:</p>
<iframe src="demo_iframe.htm" height="200" width="300" title="Iframe Example"></iframe>
</body>
</html>
Html form
<html>
<body>
<h2>The select Element</h2>
1
ICT Department
Year 8
2
ICT Department
Year 8
age (numeric)<input type="text"><br><br><br>
gender<input type="radio">male<input type="radio">female
<br><br><br>
proficiency language
<input type="checkbox">english
<input type="checkbox">French
<input type="checkbox">germany
<br><br><br>
<input type="submit" value="save">
   
<input type="reset" value="new">
</center>
</form>
</body>
</html>
Html.Tables
<html>
<head>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 100%;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
</head>
<body>
<h2>HTML Table</h2>
<table>
<tr>
3
ICT Department
Year 8
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
<tr>
<td>Ernst Handel</td>
<td>Roland Mendel</td>
<td>Austria</td>
</tr>
<tr>
<td>Island Trading</td>
<td>Helen Bennett</td>
<td>UK</td>
</tr>
<tr>
<td>Laughing Bacchus Winecellars</td>
<td>Yoshi Tannamuri</td>
<td>Canada</td>
</tr>
<tr>
<td>Magazzini Alimentari Riuniti</td>
<td>Giovanni Rovelli</td>
<td>Italy</td>
</tr>
</table>
</body>
</html>
4
ICT Department
Year 8
6
ICT Department
Year 8