EXPERIMENT NO. 2
EXPERIMENT NO. 2
EXPERIMENT No. 02
Aim: Create a web page using different list tags
Course Outcome Achieved: Use data model and language to develop web page
Theory:
HTML tags are the keywords that are used to produce web pages in various formats. Opening
tags and closing tags are found in the majority of tags. The concluding tags contain a forward
slash (/), while the language of the beginning tags is the same. Certain tags don’t need to be
closed.
HTML offers web authors three ways for specifying lists of information. All lists must contain
one or more list elements. Lists may contain:
● <ul> An unordered list. This will list items using plain bullets.
● <ol> An ordered list. This will use different schemes of numbers to list your items.
● <dl> A definition list. This arranges your items in the same way as they are arranged in a
dictionary.
An unordered list is a collection of related items that have no special order or sequence. This list
is created by using <ul> HTML tag. Each item in the list is marked with a bullet.
HTML Ordered Lists If you are required to put your items in a numbered list instead of bulleted
then HTML ordered list will be used. This list is created by using <ol> tag. The numbering
starts at one and is incremented by one for each successive ordered list element tagged with <li>
HTML and XHTML support a list style which is called definition lists where entries are listed
like in a dictionary or encyclopedia. The definition list is the ideal way to present a glossary, list
● <dt> A term
Resources Required:
Serial
Product Quantity
number
01. Desktop/PC 01
03. Notepad
Problem Statement: Design a web page to display the List of subjects of third year students
and chosen subject for study using list tag in HTML .
Code with output :
Conclusion:
……………………………………………………………………………
……………………………………………………………………………
…………………………………………………………………………….
Signature of
Process Related Product related Total
Teacher