Documente Academic
Documente Profesional
Documente Cultură
1. LI (List Item)
Whenever we make a list, ordered or unordered, we specify the list elements using the
<li> tag. It is an empty tag and does not require a closing tag.
2. OL (Ordered List)
Ordered list is the one where all the list
items are arranged in a particular order and
have a number or letter in a sequence in
front of them. By default, the ordered list is
made with a sequence of serial numbers, but
can be changed using its attributes type and
start. Such lists are created using <ol> tag.
type attribute lets us choose alphabets or
roman numerals for indicating a sequence
while start lets us indicate where the
numbering or sequence has to be started
from.
3. UL (Unordered List)
An unordered list is similar to an
ordered list except or its list items are
not arranged in any particular order or
sequence. To enhance the visibility of
each item as separate from others we
generally put bullets in front of each
item. Such lists are created using <ul>
tag. We can change the shapes of the
bullets using the type attribute
where we can assign them with circle,
square, disc, etc.
1 | Page
4. Nested List
We can use lists within list. Lists that lie
within another list are called Nested
Lists. The browsers automatically use
different bullets or numbers for the next
level of indentation for the nested lists.
We can have an ordered list within an
unordered list or vice versa. By
combining lists, we can create
information in a very organized manner.
5. Descriptive Lists
Definition list (DL) is an indented list of
terms and their definitions. Entries are
listed like in a dictionary or encyclopedia.
The definition list is the ideal w ay to
present a glossary, list of terms, or
another name/value list. <dl> tag is used
to mark the starting of the list.
Definition term specifies the term in the
definition list. It is specified using <dt>
tag.
Definition description displays the
definition description in a definite list. It
is specified using <dd> tag and must be
used with a <dt> tag.
Images are very important to beautify as well as to depict many complex concepts in
simple way on your web page. The <img> tag is used to specify an image that needs to
be displayed in an HTML document. Images can be added to the web pages both in the
background and in the foreground.
Syntax:
<body background=file name>
Syntax:
<img src=file name(or file path)>
We can change the size, position wrt text on screen using various attributes.
Changing size of image:
We can change the size of an image
using Height and Width attributes
in the <img> tag. Values of both
these attributes are specified in
number of pixels.
Syntax:
<img src=image name
Height=pixels Width=pixels>
4 | Page
5 | Page
6 | Page
7 | Page