E - Commerce Assignment
E - Commerce Assignment
Table of Content
Contents Page No.
Introduction to HTML
2-4
HTML Ordered List
5
HTML Ordered List
Example
6-8
Start Attribute
9
Reversed Attribute
10
Conclusion
11
Bibliography
12
Introduction to HTML
HTML is an acronym which stands for Hyper Text Markup
Let's see what is meant by Hypertext Markup Language, and Web page.
link within it, is a hypertext. Whenever you click on a link which brings
way to link two or more web pages (HTML documents) with each other.
M a r k u p l an g u a g e : A m a r k u p l a n g u a g e i s a c o m p u t e r l a n g u a g e t h a t i s
Markup language makes text more interactive and dynamic. It can turn
entering an URL. A Web page can be of the static or dynamic type. With
web pages with the help of styling, and which looks in a nice format on a
web browser. An HTML document is made of many HTML tags and each
<html > : This tag informs the browser that it is an HTML document.
Text between html tag describes the web document. It is a container for
<head> : It should be the first element inside the <html> element, which
which appears at the top of the browser window. It must be placed inside
< b o d y> : T e x t b e t w e e n b o d y t a g d e s c r i b e s t h e b o d y c o n t e n t o f t h e p a g e
that is visible to the end user. This tag contains the main content of the
HTML document.
<h1> : Text between <h1> tag describes the first level heading of the
webpage.
<p> : Text between <p> tag describes the paragraph of the webpage.
HTML Ordered List
HTML Ordered List or Numbered List displays elements in numbered format. The HTML ol
tag is used for ordered list. We can use ordered list to represent items either in numerical order
format or alphabetical order format, or any format where an order is emphasized. There can be
o Capital Alphabet (A B C)
o Small Alphabet (a b c)
To represent different ordered lists, there are 5 types of attributes in <ol> tag.
HTML Ordered List Example
Let's see the example of HTML ordered list that displays 4 topics in
numbered list. Here we are not defining type="1" because it is the default
type.
Output:
1. HTML
2. Java
3. JavaScript
4. SQL
ol type="I"
Let's see the example to display list in roman number uppercase.
Output:
I. HTML
II. Java
III. JavaScript
IV. SQL
ol type="i"
Let's see the example to display list in roman number lowercase.
Output:
i. HTML
ii. Java
iii. JavaScript
iv. SQL
ol type="A"
Let's see the example to display list in alphabet uppercase.
Output:
A. HTML
B. Java
C. JavaScript
D. SQL
ol type="a"
Let's see the example to display list in alphabet lowercase.
Output:
a. HTML
b. Java
c. JavaScript
d. SQL
Start attribute
The start attribute is used with ol tag to specify from where to start the
list items.
<ol type="1" start="5"> : It will show numeric values starting with "5".
<ol type="a" start="5"> : It will show lower case alphabets starting with
"e".
<ol type="I" start="5"> : It will show Roman upper case value starting
with "V".
<ol type="i" start="5"> : It will show Roman lower case value starting
with "v".
Output:
v. HTML
vi. Java
vii. JavaScript
viii. SQL
Reversed Attribute
This is a Boolean attribute of HTML <ol> tag, and it is new in HTML5
version. If you use the reversed attribute with
Output:
4. HTML
3. Java
2. JavaScript
1. SQL
CONCLUSION
Therefore, I have summarized what the ordered list has
www.tutorialspoint.com
www.javatpoint.com
www.educba.com
en.wikipedia.org