0% found this document useful (0 votes)
6 views6 pages

Web Ass 3

The document is an assignment for the Introduction to Web Technology course at Yaba College of Technology, detailing HTML code for personal profiles and a list of questions. It includes source code for displaying a personal profile with sections like Biological Data and Education Attainment, as well as a structured list of questions with anchor links. The assignment is completed by a group of students under the supervision of their lecturer, Mr. Ojo Olanrewaju.

Uploaded by

baiyewunmi65
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)
6 views6 pages

Web Ass 3

The document is an assignment for the Introduction to Web Technology course at Yaba College of Technology, detailing HTML code for personal profiles and a list of questions. It includes source code for displaying a personal profile with sections like Biological Data and Education Attainment, as well as a structured list of questions with anchor links. The assignment is completed by a group of students under the supervision of their lecturer, Mr. Ojo Olanrewaju.

Uploaded by

baiyewunmi65
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/ 6

YABA COLLEGE OF TECHNOLOGY

DEPARTMENT OF COMPUTER SCIENCE

INTRODUCTION TO WEB TECHNOLOGY (COM225)


ND2
ASSIGNMENT 3
BY

GROUP 18 MEMBERS
 F/ND/22/3210036
 F/ND/22/3210050
 F/ND/22/3210077
 F/ND/22/3210100
 F/ND/22/3210108
 F/ND/22/3210149
 F/ND/22/3210177

LECTURER:
MR OJO OLANREWAJU

QUESTION 5
Write HTML code to display your personal profile on a webpage, under the following hypertext sub–
headings:
Biological Data
Education Attainment
My Happy Moments
My Unpleasant Moments
My Best Subject

SOURCE CODE:

<!DOCTYPE html>
<!-- saved from url=(0041)http://192.168.42.129:8080/question5.html -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Personal Profile</title>
</head>
<body>

<h1>Personal Profile</h1>

<h2>Biological Data</h2>
<ul>
<li><strong>Name:</strong> ADEKOYA EMMANUEL</li>
<li><strong>Date of Birth:</strong> 15TH JUNE</li>
<li><strong>Gender:</strong> MALE</li>
<li><strong>Nationality:</strong>NIGERIAN</li>
<li><strong>Contact:</strong> 09023920084</li>
</ul>

<h2>Educational Attainment</h2>
<ul <li><strong>Primary School:</strong> DIVINE JOY PRIVATE ACADEMY (Year
Completed: 2012)</li>
<li>
<strong>Secondary School:</strong> LEGACY HIGH SCHOOL (Year Completed: 2018)</li>
<li><strong>Higher Education:</strong> YABA COLLEGE OF EDUCATION</li>
<li><strong>Certifications:</strong>SSCE</li>
</ul>

<h2>My Happy Moments</h2>


<p>THE DAY I GAVE MY LIFE TO CHRIST </p>

<h2>My Unpleasant Moments</h2>


<p>THE DAY I LOST FEEDING ALLOWANCE </p>

<h2>My Best Subject</h2>


<p><strong>Subject:</strong> WEB TECHNOLOGY</p>
<p><strong>Reason:</strong> IT'S NOT COMPLEX LIKE OTHER CODING LANGUAGE</p>
<p><strong>Achievements:</strong> BASIC HTML TAGS, USING LINKS AND LISTS</p>

</body></html>

Webpage result display


QUESTION 6
Use anchor and list tags to create HTML document to display this exercise on a webpage. Crete a list of the
question at the top of the page as follows:
Question 1
Question 2
Question 3
Question 4
Question 5
Question 6

SOURCE CODE:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Web Technology Exercise</title>
</head>
<body>

<h1>Web Technology Exercise</h1>

<!-- List of questions with anchor links -->


<h2>Questions</h2>
<ul>
<li><a href="#question1">Question 1</a></li>
<li><a href="#question2">Question 2</a></li>
<li><a href="#question3">Question 3</a></li>
<li><a href="#question4">Question 4</a></li>
<li><a href="#question5">Question 5</a></li>
<li><a href="#question6">Question 6</a></li>
</ul>

<!-- Questions with corresponding anchors -->


<h2 id="question1">Question 1</h2>
<p><strong>Answer True or False to the following:</strong></p>
<ol>
<li>&lt;Anchor&gt; is used to create links in webpages.</li>
<li>The anchor tag starts on a new line by default.</li>
<li>The href attribute is mandatory in the anchor tag.</li>
<li>A link to Page2 from Page1 on my website is an external link.</li>
<li>Closing an anchor tag is optional.</li>
<li>Start attribute is optional in an ordered list.</li>
<li>The default type value for &lt;ol&gt; is “A”.</li>
<li>The default type value for &lt;ul&gt; is disc.</li>
<li>We can nest an ordered list within an unordered list, and vice versa.</li>
<li>&lt;dt&gt; tag is used to indicate the actual definition of a term.</li>
</ol>

<h2 id="question2">Question 2</h2>


<p><strong>Fill in the blank spaces with the correct answers:</strong></p>
<ol>
<li>_____ tag is used to create links in a webpage.</li>
<li>Hyperlink can also be called _____.</li>
<li>_____ is a text used to create a hyperlink, while _____ is an image used to create a hyperlink.</li>
<li>A link to another website is called _____.</li>
<li>_____ attribute specifies where to display the contents of a selected hyperlink.</li>
<li>&lt;ul&gt; is used to create _____.</li>
<li>_____ tag is used to indicate the items in a list.</li>
<li>We use _____ attribute to indicate that an ordered list will not begin at 1.</li>
<li>To create a glossary, I need to use _____ tag.</li>
<li>We use _____ tag to indicate the term to be defined.</li>
<li>We use _____ tag to indicate the actual definition of a term.</li>
</ol>

<h2 id="question3">Question 3</h2>


<p><strong>Distinguish between ordered list and unordered list.</strong></p>
<h2 id="question4">Question 4</h2>
<p><strong>Distinguish between a regular anchor tag and a named anchor tag.</strong></p>

<h2 id="question5">Question 5</h2>


<p><strong>Write HTML code to display your personal profile on a webpage under the following
hypertext sub-headings:</strong></p>
<ul>
<li>Biological Data</li>
<li>Educational Attainment</li>
<li>My Happy Moments</li>
<li>My Unpleasant Moments</li>
<li>My Best Subject</li>
</ul>

<h2 id="question6">Question 6</h2>


<p><strong>Use anchor and list tags to create an HTML document to display this exercise on a webpage.
Create a list of the questions at the top of the page.</strong></p>

<!-- Back to top link -->


<p><a href="#">Back to Top</a></p>

</body>
</html>s

You might also like