Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lists in HTML PowerPoint How to create lists in HTML.

Similar presentations


Presentation on theme: "Lists in HTML PowerPoint How to create lists in HTML."— Presentation transcript:

1 Lists in HTML PowerPoint How to create lists in HTML

2 Creating Lists in HTML 3 types of lists – Unordered list Bulleted items – Ordered list Numbered items – Definition List a list of items, with a description of each item

3 Unordered Lists in HTML The tag for a bulleted list is & Each item is surrounded with the open and close tag (li = list item) Bullets can be changed to squares or circles with the optional code type=square or type=circle in the tag. – Code View Milk Eggs -- Browser View Milk Eggs

4 Ordered Lists in HTML The tag for a numbered list is & Each item is surrounded with the open and close tag (li = list item) List items will be numbered Numbers can be changed to a, A, i, or I with the optional code type=a, type=A, etc in the tag. – Code View George Washington John Adams -- Browser View 1. George Washington 2. Johns Adam

5 Definition Lists in HTML The tag for this list is & Each term is surrounded with the tag and each description is surrounded with the tag – Code View Electron - carries a negative electric charge Neutron - carries no electric charge -- Browser View Electron - carries a negative electric charge Neutron - carries no electric charge

6 Lists in HTML – REVIEW Ordered lists produce numbered lists Unordered lists produce bulleted lists Each item in an ordered list & unordered list is surrounded with the tag Definition lists produce terms with definitions Each term in a definition list is surrounded with the tag and each description is surrounded with the tag.


Download ppt "Lists in HTML PowerPoint How to create lists in HTML."

Similar presentations


Ads by Google