0% found this document useful (0 votes)
21 views8 pages

ICT2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views8 pages

ICT2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

ICT LAB WEEK 2 TASKS

Task 1:
<!DOCTYPE html>

<html>

<head>

<title>My First Web Page</title>

</head>

<body>

<h1>Hello, World!</h1>

</body>

</html>

Task 2:
<!DOCTYPE html>

<html>

<head>
<title>My First Web Page</title>

</head>

<body>

<h1>My Heading 1</h1>

<h2>My Heading 2</h2>

<h3>My Heading 3</h3>

<p>This is a paragraph about something.</p>

<p>Here's another paragraph with more text.</p>

</body>

</html>

Task 3:
<!DOCTYPE html>

<html>

<head>
<title>My First Web Page</title>

</head>

<body>

<h1>My Favorite Hobbies and Foods</h1>

<h2>Favorite Hobbies (Ordered List)</h2>

<ol>

<li>Playing Guitar</li>

<li>Hiking</li>

<li>Reading Books</li>

</ol>

<h2>Favorite Foods (Unordered List)</h2>

<ul>

<li>Pizza</li>

<li>Sushi</li>

<li>Chocolate Cake</li>

</ul>

</body>

</html>
Task 4:
<!DOCTYPE html>

<html>

<head>

<title>My First Web Page</title>

</head>

<body>

<h1>My Web Links</h1>

<a href="https://www.pakwheels.com">Visit pakwheels.com</a>

<br>

<a href="www.iobm.edu.pk">Go to www.iobm.edu.pk Page</a>

</body>

</html>
Task 5:
<!DOCTYPE html>

<html>

<head>

<title>My First Web Page</title>

</head>

<body>

<h1>My Image</h1>

<img
src="https://car-images.bauersecure.com/wp-images/13907/1056x594/mclaren-p1-
070.jpg" alt="mclaren p1">

</body>

</html>

Task 6:
<!DOCTYPE html>

<html>
<head>

<title>My First Web Page</title>

</head>

<body>

<h1> Table </h1>

<table border="1">

<tr>

<th>Name</th>

<th>Age</th>

</tr>

<tr>

<td>ANAS</td>

<td>25</td>

</tr>

<tr>

<td>HASSAN</td>

<td>30</td>

</tr>

<tr>

<td>DANIAL</td>

<td>22</td>

</tr>

</table>

</body>

</html>
Task 7:
<!DOCTYPE html>

<html>

<head>

<title>My First Web Page</title>

</head>

<body>

<h1>My Form</h1>

<form>

<label for="name">Name:</label>

<input type="text" id="name" name="name"><br><br>

<label>Gender:</label>

<input type="radio" id="male" name="gender" value="male">

<label for="male">Male</label>

<input type="radio" id="female" name="gender" value="female">

<label for="female">Female</label><br><br>

<label>Interests:</label>

<input type="checkbox" id="music" name="interests" value="music">

<label for="music">Music</label>

<input type="checkbox" id="sports" name="interests" value="sports">

<label for="sports">Sports</label><br><br>

<input type="submit" value="Submit">

</form>

</body>

</html>
Task 8:
<!DOCTYPE html>

<html>

<head>

<title>My First Web Page</title>

</head>

<body>

<h1>Embedded Web Page</h1>

<iframe src="https://www.pakwheels.com" width="900" height="600"></iframe>

</body>

</html>

You might also like