Page 50 - DCAP202_Fundamentals of Web Programming
P. 50
Unit 4: HTML List
14. ........................... indicates a server-side image map. Notes
15. ........................... indicates a client-side image map.
4.4 Summary
Lists commonly are found in documents, including web pages.
The HTML List classes allow you to easily create lists within your HTML pages.
HTML List provides a method to produce a compact list that displays items in as small a
vertical space as possible.
HTML provides three different types of lists to choose from when building a page, including
unordered, ordered, and definition lists.
Ordered lists place strong importance on the order of items.
Unordered lists are purely a list of related items, in which their order does not matter nor
do they have a numbered or alphabetical list element.
A definition list may contain numerous terms and descriptions, one after the other.
One of the best ways to create an impact with your web page is to add some graphics.
4.5 Keywords
<IMG>: <IMG> indicates that an image—such as a photograph, icon, animation, cartoon, or
other graphic—is to be displayed at that location.
DL: Definition lists, created using the DL element, generally consist of a series of term/definition
Pairs.
HTML List classes: It allows you to easily create lists within your HTML pages.
Inline image: An image which is displayed on a web browser is referred to as an “inline image”.
List tag: An empty tag called a “list” tag is used to do itemize elements of “unordered” and
“ordered” lists.
OL: An ordered list, created using the OL element, should contain information where order
should be emphasized.
Ordered List Item: It allows you to override the numbering and type for a specific item in the
list.
Unordered lists: Unordered lists are for lists of items where order isn’t of important.
4.6 Review Questions
1. On what information we should emphasize while preparing an order list?
2. Discuss the methods for HTML List.
3. Discuss the methods to create ordered lists, unordered lists, and nested lists.
4. Discuss IMG Attributes.
5. Explain with examples about graphic image alignment parameters in the HTML.
6. Explain the three different types of HTML lists.
LOVELY PROFESSIONAL UNIVERSITY 43