Unit 1 Ecom Lab
Unit 1 Ecom Lab
SUBMITTED BY:
SIDDHARTH
BBA, Semester II
NAAC Accredited:A+Grade (2nd Cycle), Category A+ Institution (by SFRC, Govt. of NCT
Delhi)
(Approved by AICTE, HRD Ministry, Govt. of India) Affiliated to GGSIPU, Delhi 2A & 2B,
Write a HTML code which show the difference in all the headings tags from H1 to H6.
Answer: -
CODE:
<html>
<head>
<title>Different Headings</title>
</head>
<body>
<h1> Hi to RDIAS</h1>
<h2>Hi to RDIAS</h2>
<h3>Hi to RDIAS</h3>
<h4>Hi to RDIAS</h4>
<h5>Hi to RDIAS</h5>
<h6>Hi to RDIAS</h6>
</body>
</html>
OUTPUT:
Question no. 2:
Write a HTML code with a paragraph having line break in between also mention their
interpretation.
Answer: -
CODE:
<HTML>
<HEAD>
</HEAD>
<BODY>
</BODY>
</HTML>
OUTPUT:
The <p> tag is used to define a paragraph in HTML. The <br> tag is used to create a line break
within a paragraph. In this example, we have two paragraphs, each containing a line break
between the sentences.
Question no. 3:
Write a HTML code with a paragraphs on management issue with Bold heading, Italic those are
things are needed to highlight and underline the different subtopics also mention their
interpretation.
Answer: -
CODE:
<html>
<head>
<title>Management Issues</title>
</head>
<body>
<h1><b>Management Issues</b></h1>
<h2><b>Communication breakdown</b></h2>
<h2><b>Employee burnout</b></h2>
</body>
</html>
OUTPUT:
In this code, the heading "Management Issues" is bolded, and the sentence "Effective
management is crucial for the success of any organization" is italicized to highlight its
importance. The subtopics (communication breakdown, employee burnout, and resistance to
change) are underlined, and their interpretations are provided in the following paragraphs.
Question no. 4:
Write a HTML code with 3 paragraphs having different alignment 1. Centre align 2. Left align 3.
Right align also mention the interpretation.
Answer: -
CODE:
<html>
<head>
<title>Paragraph Alignments</title>
</head>
<body>
</html>
OUTPUT:
Question no. 5:
Write a HTML code with the use of Big, small and strike tags.
Answer: -
CODE:
<html>
<head>
</head>
<body>
</body>
</html>
OUTPUT:
In the above code, the <big> tag increases the font size of the text within it, the <small> tag
decreases the font size of the text within it, and the <strike> tag adds a strike-through effect to
the text within it.
Question no. 6:
Answer: -
CODE:
<html>
<head>
<body>
</body>
</html>
OUTPUT:
In the above code, the <marquee> element is used to create the scrolling effect.
Question no. 7:
Write a HTML code using different font style, size and colour also mention the interpretation.
Answer: -
CODE:
<html>
<head>
</head>
<body>
<h1 style="font-family: Times New Roman; font-size: 36px; color: red;">Heading 1</h1>
<p style="font-size: 24px; color: blue;">This is a paragraph of text using Times New Roman
font with a font size of 24px and a blue color.</p>
<p style="font-family: Verdana; font-size: 18px; color: cyan;">This is another paragraph of text
using Verdana font with a font size of 18px and a green color.</p>
<p style="font-family: Georgia; font-size: 16px; color: #800000;">This is yet another paragraph
of text using Georgia font with a font size of 16px and a dark red color.</p>
</body>
</html>
OUTPUT:
In this code, there are four different text elements: a heading 1 element and three paragraph
elements. Each text element has its own font family, font size, and colour specified using inline
CSS styles. The first text element is a heading 1 element with Arial font, a font size of 36px, and
a red colour. The second text element is a paragraph element with Times New Roman font, a font
size of 24px, and a blue colour. The third text element is a paragraph element with Verdana font,
a font size of 18px, and a green colour. The fourth text element is a paragraph element with
Georgia font, a font size of 16px, and a dark red colour specified using a hexadecimal colour
code (#800000).
Question no. 8:
Write a HTML code to add an Image on the webpage and linke that on another page using <a>
tag also mention the interpretation.
Answer: -
CODE:
<html>
<head>
<title>My Webpage</title>
</head>
<body>
<h1>Welcome to webpage!</h1>
<ahref="https://play.google.com/store/apps/details?id=com.fingersoft.hcr2&hl=en_US"> Games
</a>
</body>
</html>
OUTPUT:
In HTML, the anchor tag, represented by <a> and </a>, is used to create hyperlinks between web
pages or to specific parts of a page. The anchor tag can also be used to link to specific parts of a
web page.
Question no. 9:
Design a Web Site with the name as HTML tutorial with following specifications:
Make following hyperlinks (i.e. 5 different web pages):
Formatting Styles and Headings: Include Bold, italics, Underline, Strike, Subscript, superscript
and all six type of headings
Font Styles and Images: Font and Basefont tag, Image tag
Anchor: Internal (linking within page) and External (linking with other documents) links
Marquee: Move text, image and hyperlink Other tags: br, hr, pre, p
Include following specifications:
In all these web pages only mention about use, attributes apply them. Insert a background image
on home page
Make all the topics as hyperlinks and go to some other page for description
Insert a marquee showing HTML Tutorial as moving text. Use different font style for different
topics. On every page, make a hyperlink for going back to home page.
Answer: -
CODES:
<html>
<head>
<title>HTML TUTORIAL</title>
</head>
<body background="C:\Users\Aditya\Downloads\maxresdefault.jpg">
<ahref="file:///C:/Users/Aditya/Downloads/Formattig%20styles%20and
%20headings.html"> FORMATTING STYLES AND HEADINGS</a>
<br>
<ahref="file:///C:/Users/Aditya/OneDrive/Documents/Font%20Styles%20And
%20Images.html"> FONT STYLES AND IMAGES</a>
<br>
<ahref="file:///C:/Users/Aditya/OneDrive/Documents/Anchor%20tag.html">ANCHOR
TAG </a>
<br>
</body>
<html>
<html>
<head>
<title>HTML TUTORIAL</title>
</head>
<body background="C:\Users\Aditya\Downloads\maxresdefault.jpg">
<a href="file:///C:/Users/Aditya/Downloads/Formattig%20styles%20and
%20headings.html"> FORMATTING STYLES AND HEADINGS</a>
<br>
<ahref="file:///C:/Users/Aditya/OneDrive/Documents/Font%20Styles%20And
%20Images.html"> FONT STYLES AND IMAGES</a>
<br>
<a href="file:///C:/Users/Aditya/OneDrive/Documents/Anchor%20tag.html">ANCHOR
TAG </a>
<br>
</body>
<html>
<html>
<head>
</head>
<body>
<br><br>
IMAGE INSERTED<br>
<br>
<a href="file:///C:/Users/Aditya/OneDrive/Desktop/Question%209.html">BACK TO
HOMEPAGE!!!</a>
</body>
</html>
<html>
<head>
</head>
<body>
Internal Linking
<ahref="file:///C:/Users/Aditya/OneDrive/Documents/Font%20Styles%20And
%20Images.html"> Internal link to Font Styles and Images
</a><br><br>External Linking
<br>
<a href="file:///C:/Users/Aditya/OneDrive/Desktop/Question%209.html">BACK TO
HOMEPAGE!!!</a>
</body>
</html>
<html>
<head>
</head>
<body>
<marquee direction="up"><img
src="C:\Users\Aditya\Downloads\Image.jpg"</marquee>
<br>
<a href="file:///C:/Users/Aditya/OneDrive/Desktop/Question%209.html">BACK TO
HOMEPAGE!!!</a>
</body>
<html>
OUTPUTS:
QUESTION 10:
Answer:
CODE:
<html>
<head>
<title>C.V. </title>
</head>
<body bgcolor="cyan">
<p><img src="C:\Users\Aditya\Downloads\WhatsApp Image 2023-06-02 at 7.58.21 PM.jpeg"
align="left" height="150" width="150"><br></p>
<font face="Times New Roman" size="4"><br>
<br><br><br><br><hr>
<p>
<u><h2>Objectives</h2></u>
Participate in different activities to gain knowledge about outside world.<br>
Seeking a role in an MNC where i can upgrade my skills in marketing and financing.<br>
<hr>
<u><h2>Educational Qualifications</h2></u>
<pre>
<b>Class 10, 2020</b><br>
Percentage- 84%<br>
<b>Class 12, 2022</b><br>
Percentage- 80%<br>
<B>Undergraduation, RDIAS 2022-2025</B><br>
Course- BBA, ongoing</pre>
<hr>
<u><h2>Achievements</h2></u>
Internship in Aritificial Intelligence.<br>
Handling socail media account for a company
<hr>
<u><h2>Strengths</h2></u>
Innovative Skills<br>
Multi-tasking<br>
Teamwork<br>
Leadership Skills<br>
<hr>
<u><h2>Hobbies</h2></u>
Reading Books<br>
Listening to Music, To play<br>
<hr>
<u><h2>Personal Details</h2></u>
Name- Siddharth<br>
Gender- MALE<br>
AGE- 18<br>
Email- [email protected]
</body>
<html>