Professional Documents
Culture Documents
company of Patel Web Solution. The things which I had learnt are as
follows:-
HTML[HyperTextMarkup Language]
HTML lists are used to present list of information in well formed and semantic
way. There are three different types of list in HTML and each one has a specific
purpose and meaning.
Note: Inside a list item you can put text, images, links, line breaks, etc.
Here we have make the simple program of ordered list, unordered list
and description list. By using different types of tags we have make this
program.
An unordered list created using the <ul> element, and each list
item starts with the <li> element.
The list items in unordered lists are marked with bullets.
An ordered list created using the <ol> element, and each list item
starts with the <li> element. Ordered lists are used when the
order of the list's items is important.
The list items in an ordered list are marked with numbers
A description list is a list of items with a description or definition of
each item.
The description list is created using <dl> element.
The <dl> element is used in conjunction with the <dt> element
which specify a term, and the <dd> element which specify the
term's definition.
PROGRAM:-
FORMATING TAGS:-
Formatting elements were designed to display special types of text:
PROGRAM:-
This program will give the output as follows:-
button Defines a simple push button, which can be programmed to perform a task on an event.
PROGRAM:-
With CSS, you can control the color, font, the size of text,
the spacing between elements, how elements are
positioned and laid out, what background images or
background colors are to be used, different displays for
different devices and screen sizes, and much more!
PROGRAM:-
OUTPUT OF THE PROGRAM:-
MARGIN
The margin property sets the margins for an element, and
is a shorthand property for the following properties:
margin-top
margin-right
margin-bottom
margin-left
PROGRAM:-
padding-top
padding-right
padding-bottom
padding-left
padding:10px 5px;
o top and bottom padding are 10px
o right and left padding are 5px
padding:10px;
o all four paddings are 10px
PROGRAM:-