0% found this document useful (0 votes)
9 views1 page

HTML Tasks

The document outlines five tasks related to HTML creation. Task 1 involves creating a table to display student names, subjects, and marks. The remaining tasks include building a registration form, creating headings and paragraphs, displaying an image with a link, and generating ordered and unordered lists.

Uploaded by

Almas
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)
9 views1 page

HTML Tasks

The document outlines five tasks related to HTML creation. Task 1 involves creating a table to display student names, subjects, and marks. The remaining tasks include building a registration form, creating headings and paragraphs, displaying an image with a link, and generating ordered and unordered lists.

Uploaded by

Almas
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

Task 1: Table Creation

Create a table that shows the following data:


Name Subject Marks
Ali Math 85
Sana Science 90
Bilal English 78
Ayesha Computer 88
Hassan Urdu 92
 Possible Tags: <table>, <tr>, <th>, <td>, <caption>

Task 2: Registration Form


Create a registration form with the following fields:

 Name (Text Input)


 Age (Number Input)
 Gender (Radio Buttons – Male/Female)
 Class (Dropdown: Grade 6, Grade 7, Grade 8)
 Submit Button

 Possible Tags: <form>, <label>, <input>, <select>, <option>, <button>

Task 3: Headings and Paragraph


Create a web page with the following content:

 Main Heading: My Favorite Subject


 Subheading: Why I Love It
 A short paragraph (2–3 lines) describing your favorite subject.

 Possible Tags: <h1>, <h2>, <p>, <br>

Task 4: Image and Link


Create a web page that displays the following:

 An image of a cat (use a placeholder like [Link] or a URL).


 A clickable hyperlink labeled "Visit Wikipedia" that opens [Link]

 Possible Tags: <img>, src, alt, <a>, href

Task 5: Ordered and Unordered Lists


Create two lists:
 An ordered list of 3 fruits.
Ordered List:
1. Apple
2. Banana
3. Mango
 An unordered list of 3 hobbies.
Unordered List:
• Reading
• Drawing
• Cycling
 Possible Tags: <ol>, <ul>, <li>

You might also like