Professional Documents
Culture Documents
E-COMMERCE LAB
Subject Code-B.COM.(H) - 308
SUBMITTED BY SUBMITTED TO
Students Name: Kunal Singh Tomar
Dr. Anamika Rana
Enrollment No: 35421288820 Assistant Professor
S.No List of Program Date Teacher’s
Signature
1 A) Write 4 paragraphs in html using various tags and different 28.2.2023
allignments. formatting of all 4 paragraphs must be different. first
paragraph about html second about tags and attributes in html third
about www and forth about e-commerce. All these paragraph must be
separated with horizontal line.
28.2.2023
b) Design a web page advantages and disadvantages of e-commerce
with headings.
2 Create an HTML file for displaying a webpage with the following Tags. The file 10.3.2023
should contain a brief description of all these tags:
a. Sub
b. Sup
c. mark
d. Paragraph
e. font
f. Headings
g. HR
h. BR
i. Pre
j. Font
k. Blockquote
3 Design a Web Page of your CV with headings as Objective, educational qualification, 14.03.202
achievements, strengths, hobbies and personal details. 3
Apply following specifications:
Insert a horizontal line after every above mentioned heading (Eg. Insert horizontal line
once objectives are complete)
4 Write a HTML code to print the following lines in same manners: 21.3.2023
In Mathematics, a quadratic equation is a polynomial equation of
the second degree. The general form is
ax2+bx+c=0
Where != 0 (For if a=0, the equation becomes a linear equation)
"CHEMICAL EQUATION"
4H3PO3 = 3H3PO4+PH3
and other expression as
Pnew= Pold + X2-Yacosx
.
5 Design a Web Site with the name as HTML tutorial with following specifications: 24.3.2023
Make following hyperlinks (i.e. 5 different web pages):
In all these web pages only mention about use, attributes apply them.
Make all the topics as hyperlinks and go to some other page for description
IP University Courses
Graduate Post Graduate
BBA BCA B. Tech MBA MCA M. Tech
240 120 100 200 100 80
13 Design a web page for linking frames. (Hyperlink of one frame must open in 1.5.2023
another frame).
Computer System
1. Input Devices
i. Keyboard
ii. Mouse
iii. Joystic
iv. Scanner
2. Output Devices
i. Monitor
a. LCD
b. CRT
ii. Printer
I. Impact Printer
Use different font styles and colors for Input and Output Devices
A. Vegetables
• Onion
• Tomato
• Radish
• Potato
• Carrot
B. Fruits
• Apple
• Banana
• Water-Melon
• Mango
• Grapes
o Newspaper
6. Hindustan Times
7. Navbharat Times
8. Punjab Kesari
9. Dainik Jagran
o Magazine
i. Business Times
v. Computer World
Source Code
<<Html><Head>
<Title> Kunal Singh Tomar 35421288820 </title>
</Head>
<Body>
<b><font size=50>Paragraph with different alignments</font></b>
<h1>HTML</h1>
<p align=left><font color= Blue size=4>
The Hypertext Mark-up Language or HTML is the standard mark-up language for documents
designed to be displayed in a web browser. It is often assisted by technologies such as
Cascading Style Sheets (CSS) and scripting languages such as JavaScript.
Web browsers receive HTML documents from a web server or from local storage and render
the documents into multimedia web pages. HTML describes the structure of a web page
semantically and originally included cues for its appearance.</p></font>
<Hr>
<h1>WWW</h1>
<p align=right><font color=Voilet size=4>
The World Wide Web (WWW), commonly known as the Web, is an information system
enabling documents and other web resources to be accessed over the Internet.
Documents and downloadable media are made available to the network through web servers
and can be accessed by programs such as web browsers.
Servers and resources on the World Wide Web are identified and located through character
strings called uniform resource locators (URLs). The original and still very common
document type is a web page formatted in Hypertext Mark-up Language (HTML). This mark-
up language supports plain text, images, embedded video and audio contents, and scripts
(short programs) that implement complex user interaction. The HTML language also supports
hyperlinks (embedded URLs) which provide immediate access to other web resources. Web
navigation, or web surfing, is the common practice of following such hyperlinks across
multiple websites. Web applications are web pages that function as application software. The
information in the Web is transferred across the Internet using the Hypertext Transfer
Protocol (HTTP).</font></p>
<Hr>
<h1>Ecommerce</h1>ok
<p align=left><font color=Red size=4>
E-commerce (electronic commerce) is the activity of electronically buying or selling of
products on online services or over the Internet. E-commerce draws on technologies such as
mobile commerce, electronic funds transfer, supply chain management, Internet marketing,
online transaction processing, electronic data interchange (EDI), inventory management
systems, and automated data collection systems. E-commerce is in turn driven by the
technological advances of the semiconductor industry, and is the largest sector of the
electronics industry.</font></p>
</body>
</html>
ASSIGNMENT 1(B)
Design a web page advantages and disadvantages of e-commerce with headings.
Output
Source code
<Html><Head>
<Title>Kunal Singh Tomar 35421288820</title>
</Head>
<Hr>
<Body>
<h1>Advantages of E-Commerce</h1>
We now understand the benefits of e-commerce. Whether a person is a client or a
businessperson, everyone wins from this.
It is a platform where any trader or business may advertise their goods as much as possible
around the globe. Additionally, anybody can purchase the item for themselves from any
location.
In this, communication between the client and the merchant is simple. E-commerce functions
as a worldwide business model as a result. The businessman may boost the worth of his
product brand by doing this.
<h3>2. Accessibility</h3>
Anything may now be purchased quite easily. On the e-commerce platform, products are
accessible around the clock. Compared to offline markets, it is considerably better.
<h3>3. Cheap</h3>
The client and the firm are linked directly through this business strategy. Because of this, any
business or group may offer their goods directly to consumers. The business could increase
its margin in this. The same client can purchase the good or service for less money online
than in a physical store.
<h1>Disadvantages of E-Commerce</h1>
If you believe that using E-Commerce or conducting your buying online is safe. Therefore,
your reasoning is wholly incorrect. Because it has benefits, there are some drawbacks as well,
which are listed below.
<h3>1. Safety</h3>
E-Commerce has a significant issue from online fraud. Hackers steal personal information,
financial information, and other data from websites. The issue of hacking persists because of
any negligence.
No website makes any assurances that your personal information won't be compromised, and
hacking has always been seen as a drawback of e-commerce. Therefore, create a secure
password for your online store.
<h3>2. Fear</h3>
When purchasing online, most of the shops lack a physical presence, and before completing
online payment, customers have reservations about this. People worry that they will lose their
money if the wrong goods are delivered and that it would be challenging to obtain their
money back if the website is unreliable.
</body>
</html>
ASSIGNMENT 2
Create an HTML file for displaying a webpage with the following Tags. The file should
contain a brief description of all these tags:
a. Sub
b. Sup
c. mark
d. Paragraph
e. font
f. Headings
g. HR
h. BR
i. Pre
j. Font
k. Block quote
Output
Source code
<Html><head>
</head>
<Body>
<h1>Tags</h1>
<h3>A. Sub</h3>
<p> The <sub> tag defines subscript text. Subscript text appears half a character below
the normal line, and is sometimes rendered in a smaller font. Subscript text can be used
for chemical formulas, like H2O. Tip: Use the <sup> tag to define superscripted text.
</p>
<h3>B. sup</h3>
<p>HTML sup tag is termed as a superscript tag which is used to define superscript text.
The text within sup tag appears with an upper baseline and renders with smaller font size
than surrounding text.</p>
<h3>C. Mark</h3>
<p>The mark HTML element represents text which is marked or highlighted for
reference or notation purposes due to the marked passage's relevance in the enclosing
context.</p>
<h3>D. Paragraph</h3>
<p>The HTML p element defines a paragraph. A paragraph always starts on a new line,
and browsers automatically add some white space (a margin) before and after a
paragraph. </p>
<h3>E. font</h3>
<p>The <font> tag in HTML plays an important role in the web page to create an
attractive and readable web page. The font tag is used to change the color, size, and style
of a text. The base font tag is used to set all the text to the same size, color and face. </p>
<h3>F. Headings</h3>
<p>A HTML heading or HTML h tag can be defined as a title or a subtitle which you
want to display on the webpage. When you place the text within the heading tags
h1........./h1, it is displayed on the browser in the bold format and size of the text depends
on the number of heading.
There are six different HTML headings which are defined with the h1 to h6 tags, from
highest level h1 (main heading) to the least level h6 (least important heading).
h1 is the largest heading tag and h6 is the smallest one. So h1 is used for most important
heading and h6 is used for least important. </p>
<h3>G. HR</h3>
<h3>H. Br</h3>
<p>Definition and Usage. The (br) tag inserts a single line break. The (br) tag is useful
for writing addresses or poems. The (br) tag is an empty tag which means that it has no
end tag. </p>
<h3>I. Pre</h3>
<p>Definition and Usage. The pre tag defines preformatted text. Text in a (pre) element
is displayed in a fixed-width font, and the text preserves both spaces and line breaks. The
text will be displayed exactly as written in the HTML source code.</p>
<p>The block quote tag specifies a section that is quoted from another source. Browsers
usually indent block quote elements (look at example below to see how to remove the
indentation). </p>
</body>
</html>
ASSIGNMENT 3.
Design a Web Page of your CV with headings as Objective, educational qualification,
achievements, strengths, hobbies and personal details.
Apply following specifications:
Insert a horizontal line after every above mentioned heading (Eg. Insert horizontal line
once objectives are complete)
● Set any light colour as a page background.
● Bold and underline every heading
● Insert your image on left side of web page
● Use heading tag to specify the headings
● After every heading is over put a horizontal line
● Use pre tag for Educational Qualification
● Use font tag for all the text
Output
Source Code
<html><head>
</head>
A fresher who wishes to equip myself with additional skills and hone my leadership skills by
working with a team that enables me to develop and work hard.<br>
<hr>
<pre>
<h1><b><u>Educational Qualification:</u></b></h1>
<hr>
<h1><b><u>Achievements :</u></b></h1>
<hr>
<h1><b><u>Strengths :</u></b></h1>
2. Self-motivated person with strong problem solving and decision making skills.<br>
<hr>
<h1><b><u>Hobbies:</u></b></h1>
1. Book Reading<br>
2. Gaming<br>
<hr>
<h1><b><u>Personal Information:</u></b></h1>
Contact:+91 85272****<br>
EMAIL: kunalm6c21288820@msijanakpuri.com<br>
</font>
</body>
</html
ASSIGNMENT 4
ax2+bx+c=0
"CHEMICAL EQUATION"
4H3PO3 = 3H3PO4+PH3
and other expression as
Pnew= Pold + X2-Yacosx
Output
<Html>
<head>
<title>Quadratic equation</title>
</head>
<body>
<u><b>CHEMICAL EQUATION</b></u><br>
4H<sub>3</sub>PO<sub>3</sub>=3H<sub>3</sub>PO<sub>4</sub>+PH<sub>3</sub><Br>
P<sub>new</sub>=P<sub>old</sub>+X<sup>2</sup>-Y<sub>acosx</sub>
</body>
</html>
ASSIGNMENT 5
Design a Web Site with the name as HTML tutorial with following specifications:
2. Font Styles and Images: Font and Basefont tag, Image tag
3. Anchor: Internal (linking within page) and External (linking with other
documents) links
Output
1. Formatting Styles and Headings
2. Font Style and Images
3. Anchor
4. Marquee
5. Quotation And Citation Tag
Source Code
Homepage:
<html><head>
</head>
<pre>
This is the Home page of HTMl tutorials. To learn more click on the links below.
</font>
</pre>
</body>
</html>
<html><head>
</head>
<pre>
<font size=6>
1. Bold tag= The 'b' tag specifies bold text without any extra importance.
2. Italics Tag= The 'i' tag defines a part of text in an alternate voice or mood. The content
inside is typically displayed in italic.
The 'i' tag is often used to indicate a technical term, a phrase from another
language, a thought, a ship name, etc.
3. Underline tag= The 'u' tag represents some text that is unarticulated and styled differently
from normal text, such as misspelled
4. Strike tag= The 'strike' HTML element places a strikethrough (horizontal line) over text.
5. Subscript= The 'sub' tag defines subscript text. Subscript text appears half a character
below the normal line, and is sometimes
6. Superscript= The 'sup' tag defines superscript text. Superscript text appears half a character
above the normal line, and is sometimes
7. Heading Tag= Headings are used to divide or assign Headings to a web page's content.
Heading code consists of 'Heading no.' Heading text
1 18
2 16
3 14
4 12
5 10
6 8
Heading will always leave a blank line above and below will always be bold.
Heading can use attributes such as align to decide if the heading
For example:
8. Br= The break code inserts a carriage return. It is just like prssing enter key on the
keyboard where it takes you to the next line.
9. Hr= The 'hr' tag defines a thematic break in an HTML page (e.g. a shift of topic). The 'hr'
element is most often displayed as a horizontal rule
10. Pre= The 'pre' tag defines preformatted text. Text in a 'pre' element is displayed in a fixed-
width font, and the text preserves both spaces and
line breaks. The text will be displayed exactly as written in the HTML source code.
11. P= The 'p' tag defines a paragraph. Browsers automatically add a single blank line before
and after each 'p' element.
</font>
</pre>
</body>
</html>
<html><head>
</head>
<pre>
1. Font Tag= The font element is used to Decide the look of a block of text and how it will be
displayed. It has the following attributes.
1.1. Size: The font size can be value be equal to a value from 1 to 7.
2. Base-font Tag= HTML 'basefont' tag was used to specify the default value of font-size,
color, and font-family for all content written within an HTML document.
<font color= blue>Note: The <basefont> was deprecated in HTML 4 and completely
removed from HTML5 so do not use this tag, instead of it you can use CSS to style the
document.</font>
3. Image Tag= HTML img tag is used to display image on the web page. HTML img tag is an
empty tag that contains attributes only, closing tags are not used in HTML image element.
The "src" and "alt" are important of HTML img tag. All attributes of HTMl image
tag are gievn below.
3.1. src= It is a necessary attribute that describes the source or path of the image. It
instructs the browser where to look for the image on the server.
3.2. alt= The alt attribute defines an alternate text for the image, if it can't be displayed.
The value of the alt attribute describe the image in words. The alt attribute
3.4. height= It h3 the height of the image. The HTML height attribute also supports iframe,
image and object elements.
<font color= blue>Note: Always try to insert the image with height and width, else it may
flicker while displaying on webpage.</font>
</font>
</pre>
</body>
</html>
3. Marquee
<html><head>
</head>
<pre>
<font size=6>
Marquee= The Marquee HTML tag is a non-standard HTML element which is used to scroll
a image or text horizontally or vertically.
In simple words, you can say that it scrolls the image or text up, down, left or right
automatically.
HTML Marquee Attributes: Marquee's element contains several attributes that are used to
control and adjust the appearance of the marquee.
Behavior= It facilitates user to set the behavior of the marquee to one of the three different
types: scroll, slide and alternate.
Direction= Defines direction for scrolling content. It may be left, right, up and down.
EXAMPLE OF MARQUEE
</font>
</pre>
</body>
</html>
4. Anchor
<html><head>
</head>
<pre>
1. Internal Linking= HTML internal link is linked within the same web page. This link can be
an absolute path or relative path. HTML internal link name is followed by the hash sign(#).
You have to assign an id to refer section of your,
page, which is referred to as an internal link to the same page. When you click
on an internal anchor link, you will scroll automatically to the referred section and display it
on your browser.
2. External Linking= An external link is used to interconnect two HTML webpages. When
you want to navigate to some other page or any other URL by clicking on a link on webpage,
external links are created. An external
3. Link Tag= HTML <link> tag is used to specify the relationship between the current
document and external source. The <link> tag is commonly used to link the external
Stylesheet for the current document, but it can also use
with link site icons. It is placed on the head section of the document.
</font>
</pre>
</body>
</html>
<html><head>
</head>
<pre>
1. Blockquote Tag= HTML 'blockquote' tag is used to define a block of text which is quoted
from another source. The Browser usually displays the content within 'blockquote' tag as
indented text.
If you want to insert a long quote then use 'blockquote' and for short or inline
quote use 'q' tag.
2. Q Tag= HTML q tag is used to put small quotation. To do so, write your text within
'q'.............'/q' tag
3. Abbr Tag= HTML 'abbr' tag is used to represent an acronym or abbreviation of a longer
word or phrase, such as www, HTML, HTTP, etc. The content written between 'abbr' tags
renders with dotted underline in some browser.
This tag can be used with "title" attribute (optional), and the value of title attribute
will be pop-up when the mouse hovers over the content written between 'abbr' tag.
4. Address Tag= HTML 'address' tag is used to specify the authorship information of the
article or webpage. It can contain any type of information which is needed such as, URL,
physical address, phone number, email, other
links, etc.The 'address' tag is useful for various contexts such as business contact
information in the header of the page, or author related contact information, etc.The contact
information written between
5. Cite Tag= HTML 'cite' tag specifies a citation, it provides reference or title to a creative
work, quoted content, books, websites, a research paper, a blog-spot, painting, etc. The main
purpose of adding 'cite' element is
to provide or identify the source of the quote or any content.The content written
between 'cite' tag renders in the italic form on the browser, and it can be overridden using
CSS in your HTML document.
6. TT Tag= HTML 'tt' tag was used to define text in monospaced font or fixed-width fonts so
that it would render as teletype, text-only screen, or line printer on the browser.
7. BDO Tag= HTML 'bdo' tag stands for "bidirectional override" which is used to overrides
the current/default text direction. This tag sets the direction of content within it to render on
browser from left to right or right to left.
The 'bdo' tag is useful for the languages which are written from right to left such as
Arabic and Hebrew.
</font>
</pre>
</body>
</html>
ASSIGNMENT 6
Output
Source Code
<html><Head>
<Title >Kunal Singh Tomar 35421288820</Title>
</Head>
<body>
<table border=2 cellpadding=10 cellspacing=0>
<tr>
<th align=left>Roll no.</th>
<th align=left>Name</th>
<th align=left>Course</th>
<th align=left>Marks</th>
</tr>
<tr>
<td>1</td>
<td>Ajay Kumar</td>
<td>BBA</td>
<td>78</td>
</tr>
<tr>
<td>2</td>
<td>Kavita Sharma</td>
<td>BCA</td>
<td>62</td>
</tr>
<tr>
<td>3</td>
<td>Rohit Garg</td>
<td>BBA CAM</td>
<td>87</td>
</tr>
<tr>
<td>4</td>
<td>Pooja Kapoor</td>
<td>BBA</td>
<td>67</td>
</tr>
<tr>
<td>5</td>
<td>Mohit Gupta</td>
<td>BBA</td>
<td>72</td>
</tr>
</table>
</body>
</html>
ASSIGNMENT 7
Output
Source code
<html><Head>
<Title>Kunal Singh Tomar 35421288820</Title>
</Head>
<body>
<table border=2 cellpadding=10 cellspacing=0>
<tr>
<th align=left rowspan=2>Roll no.</th>
<th align=left rowspan=2>Name</th>
<th align=left rowspan=2>Course</th>
<th align=left colspan=3 >Marks</th>
</tr>
<tr>
<td>Internal</td>
<td>External</td>
<td>Total</td>
</tr>
<tr>
<td>123</td>
<td>abc</td>
<td>BBA</td>
<td>20</td>
<td>60</td>
<td>80</td>
</tr>
<tr>
<td>2</td>
<td>xyz</td>
<td>BCA</td>
<td>15</td>
<td>65</td>
<td>80</td>
</tr>
</table>
</body>
</html>
ASSIGNMENT 8.
● Design table in HTML
IP University Courses
Graduate Post Graduate
BBA BCA B. Tech MBA MCA M. Tech
240 120 100 200 100 80
Output
Source Code
<html><head>
<Title>Kunal Singh Tomar 35421288820</Title>
</Head>
<body>
<table border=2 cellpadding=10 cellspacing=0>
<tr>
<th align=left colspan=6>IP university Courses</th>
</tr>
<tr>
<td colspan=3>Graduate</td>
<td colspan=3>Post Graduate</td>
</tr>
<tr>
<td>BBA</td>
<td>BCA</td>
<td>B.tech</td>
<td>MBA</td>
<td>MCA</td>
<td>M.tech</td>
</tr>
<tr>
<td>240</td>
<td>120</td>
<td>100</td>
<td>200</td>
<td>100</td>
<td>80</td>
</tr>
</table>
</body>
</html>
ASSIGNMENT 9
● Design a web page Using HTML:
Time Table for BBA(G) - II Section C (Eve)
Class Coordinator: Dr. Anamika Rana
9:00-10:00 10:15-11:15 11:30-12:30 1:00-2:00 2:15-3:15
Monda
y QT CA BC BE ECOMM
Tuesda ECOMM ECOMM
y BC ECOMM BE LAB LAB
Wedne ECOMM ECOMM
sday QT LAB LAB BC CA
Thursd
ay BE CA E COMM QT
Friday ECOMM QT BE CA BC
Saturd Lunch
ay CA QT Break BE
Subject Faculty
CA: Dr. ANITA ECOMM:Dr. Anamika BC: Dr. Nisha Bamel
QTOR: Mr. Shashi
Kant Pandey ECOMM LAB:Dr.Anamika BE: Dr. Suhasini
Output
Source Code
<html><Head>
<Title>Kunal Singh Tomar 35421288820</Title>
</Head>
<body>
<table border=2 cellpadding=10 cellspacing=0>
<tr>
<th colspan=7>Time Table for BBA(G) - II Section C (Eve)</th>
</tr>
<tr>
<th colspan=7>Class Coordinator: Dr. Anamika Rana</th>
</tr>
<tr>
<td></td>
<td>9:00-10:00</td>
<td>10:15-11:15</td>
<td>11:30-12:30</td>
<td rowspan=7 valign=bottom>Lunch Break</td>
<td>1:00-2:00h</td>
<td>2:15-3:15</td>
</tr>
<tr>
<td>Monday</td>
<td>QT</td>
<td>CA</td>
<td bgcolor=yellow>BC</td>
<td>BE</td>
<td>ECOMM</td>
</tr>
<tr>
<td>Tuesday</td>
<td bgcolor=yellow>BC</td>
<td>ECOMM</td>
<td>BE</td>
<td>ECOMM LAB</td>
<td>ECOMM LAB</td>
</tr>
<tr>
<td>Wednesday</td>
<td>QT</td>
<td>ECOMM LAB</td>
<td>ECOMM LAB</td>
<td bgcolor=yellow>BC</td>
<td>CA</td>
</tr>
<tr>
<td>Thursday</td>
<td>BE</td>
<td>CA</td>
<td>ECOMM</td>
<td>QT</td>
<td></td>
</tr>
<tr>
<td>Friday</td>
<td>ECOMM</td>
<td>QT</td>
<td>BE</td>
<td>CA</td>
<td bgcolor=yellow>BC</td>
</tr>
<tr>
<td>Saturday</td>
<td></td>
<td>CA</td>
<td>QT</td>
<td>BE</td>
<td></td>
</tr>
<tr>
<th colspan=7>Subject Faculty</th>
</tr>
<tr>
<td colspan=2>CA: Dr. ANITA</td>
<td colspan=2>ECOMM:Dr. Anamika</td>
<td colspan=3>BC: Dr. Nisha Bamel</td>
</tr>
<tr>
<td colspan=2>QTOR: Mr. Shashi Kant Pandey</td>
<td colspan=2>ECOMM LAB: Dr. Anamika</td>
<td colspan=3>BE: Dr. Suhasini</td>
</tr>
</table>
</body>
</html>
ASSIGNMENT 10
Create a nested list as follows:
Computer System
1. Input Devices
i. Keyboard
ii. Mouse
iii. Joystick
iv. Scanner
a. Flat-Bed Scanner
b. Hand held Scanner
2. Output Devices
i. Monitor
a. LCD
b. CRT
ii. Printer
I. Impact Printer
II. Non-Impact Printer
Apply following parts:
● Insert an image of computer on top right corner of web page
● Display a marquee displaying “Input and Output Devices”
● Use different font styles and colors for Input and Output Devices
● Insert horizontal line after Input Devices are over
● Use bold, italics and underline in heading.
Output
Source Code
<html>
<head>
<title>Kunal Singh Tomar 35421288820</title></head>
<BR><BR>
<BODY>
<H1>COMPUTER SYSTEM</H1>
<H2><MARQUEE>INPUT AND OUTPUT DEVICES</MARQUEE></H2>
<OL>
<LI>INPUT DEVICES</LI>
<OL TYPE='a'>
<LI>KEYBOARD</LI>
<LI>MOUSE</LI>
<LI>JOYSTICK</LI>
<LI>SCANNER</LI>
<OL TYPE='A'>
<LI>FLAT-BED SCANNER</LI>
<LI>HAND HELD SCANNER</LI>
</OL>
</OL>
<LI>OUTPUT DEVICES</LI>
<OL>
<LI>MONITOR</LI>
<OL TYPE='a'>
<LI>LCD</LI>
<LI>CRT</LI>
</OL>
<LI>PRINTER</LI>
<OL TYPE='a'>
<LI>IMPACT PRINTER</LI>
<LI>NON-IMPACT PRINTER</LI>
</OL></OL>
ASSIGNMENT 11
Create a HTML web page which displays the following list.
FRUITS & VEGETABLES
A. Vegetables
• Onion
• Tomato
• Radish
• Potato
• Carrot
B. Fruits
• Apple
• Banana
• Water-Melon
• Mango
• Grapes
Newspaper & Magazine
o Newspaper
5. The Times of India
6. Hindustan Times
7. Navbharat Times
8. Punjab Kesari
9. Dainik Jagran
o Magazine
i. Business Times
ii. The Week
iii. India Today
iv. Harvard Business Review
v. Computer World
Source Code
<html><head>
<title>Kunal Singh Tomar 35421288820</title>
</head>
<body bgcolor= #ADD8E6>
FRUITS AND VEGETABLES
<ol type=A>
<li>Vegetables</li>
<ul type=disc>
<li>Onion</li>
<li>Tomato</li>
<li>Radish</li>
<li>Potato</li>
<li>Carrot</li>
</ul>
<li>Fruits</li> <ul type=disc>
<li>Apple</li>
<li>Banana</li>
<li>Water-Melon</li>
<li>Mango</li>
<li>Grapes</li>
</ul>
</ol>
<h3>Newspaper & Magazine</h3>
<hr>
<ul type=circle>
<li>Newspaper</li>
<ol start=5>
<li>The Times of India</li>
<li>Hindustan Times</li>
<li>Navbharat Times</li>
<li>Punjab Kesari</li>
<li>Dainik Jagran</li>
</ol>
<li>Magazine</li>
<ol type=i>
<li>Business Times</li>
<li>The Week</li>
<li>India Today</li>
<li>Harvard Business Review</li>
<li>Computer World</li>
</ol>
</ul>
</body>
</html>
ASSIGNMENT 12
Output
Source Code
<html>
<head> <title>
Kunal Singh Tomar 35421288820 </title> </head>
<body>
<h1 align=center> STUDENT REGISTERATION FORM </h2>
<hr color=black>
<form>
<body bgcolor=Aqua>
<pre>
<b>
Name: <input type = text value = "Enter Full Name" size = 50 >
Father's Name: <input type = text value size = 50 >
Mother's Name: <input type = text value size = 50 >
Phone Number: <input type = text size=50 >
Email: <input type = text value = "sample@example.com " size= 50 >
Gender: <input type = radio name abc > Male <input type = radio name abc > Female
<input type = radio name abc > Others
Date of birth: <input type = text size = 5 > <input type = text size = 5 > <input type = text
size = 5 > (dd-mm-yyyy)
Address: <input type = text value = "Street:- House:- Road:-" size = 50>
Blood group: <select >
<option selected disabled> Select </option>
<option> o+ </option>
<option> o- </option>
<option> a+ </option>
</select>
Department: <input type = radio name abc> CSE <input type = radio name abc> EEE
<input type = radio name abc> BBA
Course: <input type = checkbox> C <input type = checkbox> C++ <input type =
checkbox> Java <input type = checkbox> AI <input type = checkbox> Machine learning
<input type = checkbox> Robotics
Photo: <input type = text value = "Choose file" > No file chosen
</b>
</form>
</body>
<html>
ASSIGNMENT 13
Output
Source Code
<html><Head>
<Title>Kunal Singh Tomar 35421288820 </Title>
</Head>
<body>
<table bgcolor=yellow border=2 cellpadding=20 cellspacing=3>
<form>
<tr>
<th>ENTER YOUR FIRST NAME</th>
<td><input type=text Value='enter your first name' size=50></td>
</tr>
<tr>
<th>ENTER YOUR LAST NAME</th>
<td><input type=text size=50></td>
</tr>
<tr>
<th>ENTER YOUR PASSWORD</th>
<td><input type=password size=50></td>
</tr>
<tr>
<th>ReENTER YOUR PASSWORD</th>
<td><input type=password size=50></td>
</tr>
<tr>
<th>ENTER YOUR EMAIL</th>
<td><input type=text size=50></td>
</tr>
<tr>
<th>ENTER YOUR MOBILE</th>
<td><input type=text size=50></td>
</tr>
<tr>
<th>ENTER YOUR ADDRESS</th>
<td><textarea rows=10 cols=45></textarea></td>
</tr>
<tr>
<th>SELECT YOUR GENDER</th>
<td><input type=radio name=Gender>Male <input type=radio
name=Gender>Female</td>
</tr>
<tr>
<th>SELECT YOUR HOBBIES</th>
<td>Hobby1<input type=checkbox name=hobby> Hobby2<input type=checkbox
name=hobby> hobby3<input type=checkbox name=hobby></td>
</tr>
<tr>
<th>SELECT YOUR DOB</th>
<td><input type=text size=50 value=dd-mm-yyyy></td>
</tr>
<tr>
<th>SELECT YOUR COUNTRY</th>
<td><select>
<option>SELECT YOUR COUNTRY</option>
<option>INDIA</option>
<option>CANADA</option>
<option>AUSTRALIA</option>
</select></td>
</tr>
<tr>
<th>UPLOAD YOUR PIC</th>
<td><input type=button value='CHOOSE FILE'> No file chosen</td>
</tr>
<td colspan=2 align=center><input type=submit Value='Save My Data'> <input
type=reset Value='Reset Data'></td>
</form>
</table>
</body>
</html>
ASSIGNMENT 14
Design a web page of nested frames(min 10 frames) with all attributes of frame tag.
OUTPUT
Source Code:
<html><head>
<title> Kunal Singh Tomar 35421288820 </title>
</head>
<frameset cols="20%,80%" frameborder=1 border=2 bordercolor=green>
<frame src="C:\Users\verma\Downloads\crick\download (1).jpeg" scrolling='no'>
<frameset rows='30%,70%'frameborder=1 border=2 bordercolor=PINK>
<frameset cols="30%,30%,40%" frameborder=1 border=2 bordercolor=red>
<frame src="C:\Users\verma\Downloads\crick\download (2).jpeg" scrolling='no'>
<frame src="C:\Users\verma\Downloads\crick\download.jpeg" scrolling='no'>
<frame src="C:\Users\verma\Downloads\crick\download (3).jpeg"
scrolling='no'></frameset>
<frameset rows='50%,50%'frameborder=1 border=2 bordercolor=brown>
<frameset cols="30%,30%,40%" frameborder=1 border=2 bordercolor=blue>
<frame src="C:\Users\verma\Downloads\crick\images.jpeg" scrolling='no'>
<frame src="C:\Users\verma\Downloads\crick\images (1).jpeg" scrolling='no'>
<frame src="C:\Users\verma\Downloads\crick\images (2).jpeg" scrolling='no'></frameset>
<frameset cols="30%,30%,40%" frameborder=1 border=2 bordercolor=yellow>
<frame src="C:\Users\verma\Downloads\crick\images (3).jpeg" scrolling='no'>
<frame src="C:\Users\verma\Downloads\crick\images (4).jpeg" scrolling='no'>
<frame src="C:\Users\verma\Downloads\crick\images (5).jpeg" scrolling='no'></frameset>
</frameset>
</frameset>
</frameset>
</html>
ASSIGNMENT 15
Design HTML Form:
Output
Source Code:
<html><head>
<title> Kunal Singh Tomar </title>
</head>
<body background="C:\Users\verma\Downloads\flower.jpg">
<pre><b>
<form method=Get Action=>
<font face='High Tower Text' size=3>
<font size= 5 color=red><i>Personal Information</i></font>
Field of Select all that apply, hold CTRL when clicking to select multiple items
Study:
A. Vegetables
• Onion
• Tomato
• Radish
• Potato
• Carrot
B. Fruits
• Apple
• Banana
• Water-Melon
• Mango
• Grapes
Newspaper
1. The Times of India
2. Hindustan Times
3. Navbharat Times
4. Punjab Kesari
5. Dainik Jagran
Magazine
1. Business Times
2. The Week
3. India Today
4. Harvard Business Review
5. Computer World
Apply following parts:
Put horizontal line after newspaper and magazine
Apply heading tag for newspaper and magazine
Apply a background color
Insert marquee tag displaying “Newspapers and Magazines”
Source Code :
<!DOCTYPE html>
<html>
<head>
<title>Webpage</title>
<style>
Body {
Background-color: lightgray;
}
</style>
</head>
<body>
<h1>FRUITS & VEGETABLES</h1>
<h2>A. Vegetables</h2>
<ul>
<li>Onion</li>
<li>Tomato</li>
<li>Radish</li>
<li>Potato</li>
<li>Carrot</li>
</ul>
<h2>B. Fruits</h2>
<ul>
<li>Apple</li>
<li>Banana</li>
<li>Water-Melon</li>
<li>Mango</li>
<li>Grapes</li>
</ul>
<hr>
<h2>Newspaper & Magazine</h2>
<marquee behavior=”scroll” direction=”left”>Newspapers and
Magazines</marquee>
<h3>Newspaper</h3>
<ol start=”5”>
<li>The Times of India</li>
<li>Hindustan Times</li>
<li>Navbharat Times</li>
<li>Punjab Kesari</li>
<li>Dainik Jagran</li>
</ol>
<h3>Magazine</h3>
<ol>
<li>Business Times</li>
<li>The Week</li>
<li>India Today</li>
<li>Harvard Business Review</li>
<li>Computer World</li>
</ol>
</body>
</html>