Professional Documents
Culture Documents
Lists
Unordered Lists
Example:
How to Create an
Unordered Lists
<UL>
<LH>My Subjects List</LH>.
How to Create an
Unordered Lists
3. To create the first item in your list, type
<LI>. Then type the text of the item itself.
<UL>
<LH>My Subjects List</LH>
<LI>Algebra
<LI>Web Programming 1
<LI>Data Structure
Example:
<UL type=“square”>
<LH>My Subjects List</LH>
<LI>Algebra
<LI>Web Programming 1
<LI>Data Structure
</UL>
Ordered Lists
Example:
How to Create an
Ordered Lists
<OL>
<LH>My Subjects List</LH>.
How to Create an
Ordered Lists
3. To create the first item in your list, type
<LI>. Then type the text of the item itself.
<OL>
<LH>My Subjects List</LH>
<LI>Algebra
<LI>Web Programming 1
<LI>Data Structure
START Attribute
Ø The start attribute is used by Netscape
and Internet Explorer with the <OL> tag
to let you change that beginning value.
To start numbering a list at 5, for
example:
<OL start=5>
<LI> This is item number 5.
<LI> This is number six!
<LI> And so forth... </OL>
Example:
Definition Lists
Example:
<DL>
<DT>HTML</DT>
<DD>Hyper Text Markup
Language</DD>
<DT>Cat</DT>
<DD>A dog's best friend!</DD>
</DL>
How to Create
Definition Lists
1. To create a definition list in your HTML
document, type <DL> at the point where
you'd like the list to begin.
2. To create a definition term, type <DT>
followed by text describing the element
being defined. For example:
<DL>
<DT>Internet
<DL>
<DT>Internet
<DD>It is a worldwide
collection of interconnected
computers whose users can
communicate with each other
and share information.
Lists and Graphical Elements
Page 12 of 24
Web Development 1
How to Create
Definition Lists
4. Create a new definition term if necessary.
As with ordered and unordered lists, there
are no closing tags for list items.
<DL>
<DT>Internet
<DD>It is a worldwide collection of
interconnected computers whose users
can communicate with each other and
share information.
<DT>World Wide Web
<DD>It is the part of the Internet
where computers communicate with each
other using a computer-network
protocol called HTTP.
</DL>
Nesting List
For example:
<UL TYPE="SQUARE">
<LI>List item...</LI>
<LI>List item...</LI>
<OL TYPE="i" START="3">
<LI>List item 1...</LI>
<LI>List item 2...</LI>
</OL>
</LI>
<LI>List item...</LI>
</UL>
Understanding Image
Formats
Understanding JPEG
Format
Inserting Images
<IMG> Attributes
<IMG src=“images/logo.gif”
alt=“Company logo here!”>
Exercise
My Picture Gallery
img01
img02
img03