Report Final
Report Final
A INTERNSHIP REPORT
Submitted to
JONNAVADA KEERTHI
(H.T. No. 20JN1A0557)
2020-2024
SREE VENKATESWARA COLLEGE OF ENGINEERING
NAAC ‘A’ Grade Accredited Institution, An ISO 9001:: 2015 Certified Institution
(Approved by AICTE, New Delhi and Affiliated to JNTU, Anantapur)
BONAFIDE CERTIFICATE
This is to certify that the internship report entitled “ONLINE FOOD SHOP
WEBSITE” submitted by JONNAVADA KEERTHI (H.T.No.20JN1A0557) is
work done by him and submitted during the academic year 2023- 2024, in partial
fulfillment of the requirement for the award of degree of BACHELOR OF
TECHNOLOGY in ”COMPUTER SCIENCE AND ENGINEERING” at
1STOP ,BANGALORE.
Nellore – 524316
Examiner I Examiner II
DECLARATION
I hereby declare that the INTERNSHIP report entitled “ONLINE FOOD SHOP WEBSITE”
done by me under the esteemed guidance of, Mr.G.Vidya Sagar, Assistant Professor, Department of
Computer Science and Engineering. This internship work has been submitted to SREE
VENKATESWARA COLLEGE OF ENGINEERING in partial fulfillment of the requirements for the
award of the Bachelors of Technology.
I also declare that this internship report has not been submitted at any time to other Institute or
University for the award of any degree.
Internship Associative
JONNAVADA KEERTHI
HT. No. 20JN1A0557
ACKNOWLEDGEMENT
Associate Professor & Head of the Department, Computer Science and Engineering,
for endowing a practical environment in the institute.
I take this opportunity to express my sincere deep sense of gratitude to my guide
Mr. G. VIDYA SAGAR, M.Tech., Assistant professor, Department of Computer
Science and Engineering, for his significant suggestions and help in every aspect to
accomplish the internship.
I would like to express my gratitude to our trainer MEGHA SINGH, 1STOP, for her
guidance, significant suggestions and help in every aspect to accomplish the
internship. Her persisting encouragement, everlasting patience and keen interest in
discussions have benefited me to an extent that cannot be spanned by words. I am thankful to
the staff members of my department for their cooperation over the completion of this
internship.
Finally, I thank one and all who directly or indirectly supported me in the completion of
this internship successfully.
Submitted by
JONNAVADA KEERTHI
H.T No.20JN1A0557
I
PARTICIPATION CERTIFICATE
INTERNSHIP CERTIFICATE
II
ABSTRACT
Website Design and learning HTML were the main objectives of this internship. To
develop a web-based application, there are several programming languages that are in use. Some
of them are only used for the frontend and backend design of the software. For example, HTML3,
HTML4, HTML5, CSS, Bootstrap, JavaScript etc. There are also some other programming
languages that are used to develop the dynamic functions of the software or application. For
example- PHP, Java etc. Nowadays there are also some frameworks that use vastly. Frameworks
are basically structured programming by using Model, View and Controller. It is also called as
MVC. If we develop web-based application that is very useful for us because we can access it
from anywhere in the world. It is very helpful for our daily life. That is why I choose subject of
my report as "WEB DESIGN". Training in Universal Informatics added huge experiences in my
upcoming career. Solving real life problems was another key issue. This report takes us through
all the details of WEBSITE DESIGN knowledge and experience gathered during this
internship period. Web development is the work involved in developing a website for
the Internet (World Wide Web) or an intranet (a private network). Web development can range
from developing a simple single static page of plain text to complex web applications, electronic
businesses, and social network services. A more comprehensive list of tasks to which Web
development commonly refers, may include Web engineering, Web design, Web content
development, client liaison, client-side/server-side scripting, Web server and network
security configuration, and e-commerce development
III
WEEKLY OVERVIEW OF INTERNSHIP ACTIVITIES
WEEK 1
DATE DAY NAME OF THE TOPIC/MODULE
COMPLETED
Week 2
IV
Week 3
Week 4
V
Week 5
WEEK 6
VI
WEEK 7
Week 8
VII
CONTENTS
1. Introduction 1
2.1..Frontend Languages 2
2.2..Backend Languages 3
3.1..Markup Languages 4
3.2..Style Sheets 4
3.3..Benefits 4-6
4.1..HTML5 7-13
4.2..CSS3 14-21
4.3..Javascript 21-24
7. Conclusion 43
8. References 44
VII
I
LIST OF TABLES
LIST OF FIGURES
IX
B.Tech IV Year -I Sem – Internship 2022
1. INTRODUCTION
1.1 Web Technology
Web Technology refers to the various tools and techniques that are utilized in the process of
communication between different types of devices over the internet. A web browser is used to
access web pages. Web browsers can be defined as programs that display text, data, pictures,
animation, and video on the Internet. Hyperlinked resources on the World Wide Web can be
accessed using software interfaces provided by Web browsers.
World Wide Web (WWW): The World Wide Web is based on several different technologies:
Web browsers, Hypertext Markup Language (HTML) and Hypertext Transfer Protocol
(HTTP). Web Browser: The web browser is an application software to explore www (World
Wide Web). It provides an interface between the server and the client and requests to the
server for web documents and services.
Web Server: Web server is a program which processes the network requests of the users and
serves them with files that create web pages. This exchange takes place using Hypertext
Transfer Protocol (HTTP).
Web Pages: A web page is a digital document that is linked to the World Wide Web and
viewable by anyone connected to the internet has a web browser.
Web Development: Web development refers to the building, creating, and maintaining of
websites. It includes aspects such as web design, web publishing, web programming, and
database management. It is the creation of an application that works over the internet i.e.,
websites
Frontend Development: The part of a website that the user interacts directly is
termed as front end. It is also referred to as the ‘client side’ of the application.
Backend Development: Backend is the server side of a website. It is the part of the
website that users cannot see and interact. It is the portion of software that does not
come in direct contact with the users. It is used to store and arrange data.
Frontend Languages: The frontend portion is built by using some languages which are
discussed below:
HTML: HTML stands for Hypertext Markup Language. It is used to design the front-
end portion of web pages using a markup language. HTML is the combination of
Hypertext and Markup language. Hypertext defines the link between the web pages. The
markup language is used to define the text documentation within the tag which defines
the structure of web pages.
CSS: Cascading Style Sheets fondly referred to as CSS is a simply designed language
intended to simplify the process of making web pages presentable. CSS allows you to
apply styles to web pages. More importantly, CSS enables you to do this independent of
the HTML that makes up each web page.
There are many other languages through which one can do front-end development depending
upon the framework for example Flutter user Dart, React uses JavaScript and Django uses
Python, and much more.
Python: Python is a programming language that lets you work quickly and integrate
systems more efficiently.
Java: Java is one of the most popular and widely used programming languages and
platforms. It is highly scalable. Java components are easily available.
JavaScript: JavaScript can be used as both (front end and back end) programming.
1. HTML
2. XML
3. XHTML
4. SGML
3.3 Benefits
Separation of style and content has advantages, but has only become practical after
improvements in popular web browsers CSS implementations.
Speed
Overall, users experience of a site utilizing style sheets will generally be quicker than sites
that don’t use the technology. ‘Overall’ as the first page will probably load more slowly –
Maintainability
Holding all the presentation styles in one file can reduce the maintenance time and reduces the
chance of error, thereby improving presentation consistency. For example, the font color
associated with a type of text element may be specified — and therefore easily modified —
throughout an entire website simply by changing one short string of characters in a single file.
The alternative approach, using styles embedded in each individual page, would require a
cumbersome, time consuming, and error-prone edit of every file.
Accessibility
Sites that use CSS with either XHTML or HTML are easier to tweak so that they appear
similar in different browsers (Chrome, Internet Explorer, Mozilla Firefox, Opera, Safari, etc.).
Sites using CSS "degrade gracefully" in browsers unable to display graphical content, such
as Lynx, or those so very old that they cannot use CSS. Browsers ignore CSS that they do not
understand, such as CSS 3 statements. This enables a wide variety of user agents to be able to
access the content of a site even if they cannot render the style sheet or are not designed with
graphical capability in mind. For example, a browser using a refreshable braille display for
output could disregard layout information entirely, and the user would still have access to all
page content.
Customization
If a page's layout information is stored externally, a user can decide to disable the layout
information entirely, leaving the site's bare content still in a readable form. Site authors may
also offer multiple style sheets, which can be used to completely change the appearance of the
site without altering any of its content.
Most modern web browsers also allow the user to define their own style sheet, which can
include rules that override the author's layout rules. This allows users, for example, to bold
Consistency
Because the semantic file contains only the meanings an author intends to convey, the styling
of the various elements of the document's content is very consistent. For example, headings,
emphasized text, lists and mathematical expressions all receive consistently applied style
properties from the external style sheet. Authors need not concern themselves with the style
properties at the time of composition. These presentational details can be deferred until the
moment of presentation.
Portability
The deferment of presentational details until the time of presentation means that a document
can be easily re-purposed for an entirely different presentation medium with merely the
application of a new style sheet already prepared for the new medium and consistent with
elemental or structural vocabulary of the semantic document. A carefully authored document
for a web page can easily be printed to a hard-bound volume complete with headers and
footers, page numbers and a generated table of contents simply by applying a new style sheet.
4.Designing a Page
4.1 HTML
HTML stands for Hyper Text Markup Language. It is used to design web pages using a
markup language. HTML is an abbreviation of Hypertext and Markup language. Hypertext
defines the link between the web pages. The markup language is used to define the text
document within the tag which defines the structure of web pages. HTML 5 is the fifth and
current version of HTML. It has improved the markup available for documents and has
introduced application programming interfaces (API) and Document Object Model (DOM).
Features:
It has introduced new multimedia features which support audio and video controls by
using <audio> and <video> tags.
There are new graphics elements including vector graphics and tags.
Drag and Drop- The user can grab an object and drag it further dropping it to a new
location.
Geo-location services- It helps to locate the geographical location of a client.
Web storage facility which provides web application methods to store data on the web
browser.
Uses SQL database to store data offline.
Allows drawing various shapes like triangle, rectangle, circle, etc.
Capable of handling incorrect syntax.
Easy DOCTYPE declaration i.e., <!doctype html>
Easy character encoding i.e., <meta charset=”UTF-8″>
Paragraph Tag
The <p> tag offers a way to structure your text into different paragraphs. Each
paragraph of text should go in between an opening <p> and a closing </p> tag.
Centering Content
You can use <center> tag to put any content in the center of the page or any table cell.
Horizontal Lines
Horizontal lines are used to visually break-up sections of a document. The <hr> tag
creates a line from the current position in the document to the right margin and breaks the line
accordingly.
Again <hr /> tag is an example of the empty element, where you do not need opening
and closing tags, as there is nothing to go in between them.
The <hr /> element has a space between the characters hr and the forward slash. If you omit
this space, older browsers will have trouble rendering the horizontal line, while if you miss
the forward slash character and just use <hr> it is not valid in XHTML
Preserve Formatting
Sometimes, you want your text to follow the exact format of how it is written in the
HTML document. In these cases, you can use the preformatted tag <pre>.
Any text between the opening <pre> tag and the closing </pre> tag will preserve the
formatting of the source document.
HTML4 vs HTML5
<acronym> <abbr>
<applet> <object>
<basefont> CSS
<big> CSS
<center> CSS
<dir> <ul>
<font> CSS
<frame>
<frameset>
<noframes>
<isindex>
<tt> CSS
<article>: The <article> tag is used to represent an article. More specifically, the content
within the <article> tag is independent from the other content of the site (even though it can be
related).
<fig caption>: The <fig caption> tag in HTML is used to set a caption to the figure
element in a document.
<figure>: The <figure> tag in HTML is used to add self-contained content like
illustrations, diagrams, photos or codes listing in a document. It is related to main flow but
it can be used in any position of a document and the figure goes with the flow of the
document and if remove it then it should not affect the flow of the document.
<footer>: The <footer> tag in HTML is used to define a footer of HTML document.
This section contains the footer information (author information, copyright information,
carriers etc.). The footer tag are used within body tag. The <footer> tag is new in the
HTML 5. The footer elements require a start tag as well as an end tag.
<main>: Delineates the main content of the body of a document or web app.
<mark>: The <mark> tag in HTML is used to define the marked text. It is used to
highlight the part of the text in the paragraph.
<nav>: The <nav> tag is used to declaring the navigational section in HTML
documents. Websites typically have sections dedicated to navigational links, which
enables user to navigate the site. These links can be placed inside a nav tag.
<details>: The <details> tag is used for the content/information which is initially
hidden but could be displayed if the user wishes to see it. This tag is used to create
interactive widget which user can open or close it. The content of details tag is visible
when open the set attributes.
<summary>: The <summary> tag in HTML is used to define a summary for the
<details> element. The <summary> element is used along with the <details> element and
provides a summary visible to the user. When the summary is clicked by the user, the
content placed inside the <details> element becomes visible which was previously hidden.
The <summary> tag was added in HTML 5. The <summary> tag requires both starting
and ending tag.
<time>: The <time> tag is used to display the human-readable data/time. It can also
be used to encode dates and times in a machine-readable form. The main advantage for
users is that they can offer to add birthday reminders or scheduled events in their
calendars and search engines can produce smarter search results.
<bdi>: The <bdi> tag refers to the Bi-Directional Isolation. It differentiates a text
from other text that may be formatted in different direction. This tag is used when a user
generated text with an unknown direction.
<datalist>: The <datalist> tag is used to provide autocomplete feature in the HTML
files. It can be used with input tag, so that users can easily fill the data in the forms using
select the data.
<keygen>: The <keygen> tag in HTML is used to specify a key-pair generator field in
a form. The purpose of <keygen> element is to provide a secure way to authenticate users.
When a from is submitted then two keys are generated, the private key and public key.
The private key is stored locally, and the public key is sent to the server. The public key
is used to generate a client certificate to authenticate users for future.
<output>: The <output> tag in HTML is used to represent the result of a calculation
performed by the client-side script such as JavaScript.
<progress>: It is used to represent the progress of a task. It also defines how much
work is done and how much is left to download a things. It is not used to represent the
disk space or relevant query.
<canvas>: The <canvas> tag in HTML is used to draw graphics on web page using
JavaScript. It can be used to draw paths, boxes, texts, gradients and add images. By
default, it does not contain border and text.
Advantages:
HTML 5 in integration with CSS, JavaScript, etc. can help build beautiful websites.
Disadvantages:
EXAMPLE
<!DOCTYPE html>
<html>
<head>
<title>HTML 5</title>
<style>
h1 {
font-size:50px;
</style>
</head>
<body>
</body>
</html>
4.2 CSS3
Cascading Style Sheets (CSS) is a style sheet language used for describing the look and
formatting of a document written in a markup language. CSS3 is the latest standard of CSS
earlier versions (CSS2).
CSS3 modules
CSS3 is collaboration of CSS2 specifications and new specifications, we can call this
collaboration a module. Some of the modules are shown below −
Selectors
Box Model
Backgrounds
Image Values and Replaced Content
Text Effects
2D Transformations
3D Transformations
Animations
Multiple Column Layout
User Interface
Cascading Style Sheets, fondly referred to as CSS, is a simple design language intended to
simplify the process of making web pages presentable.
CSS handles the look and feel part of a web page. Using CSS, you can control the color of the
text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out,
what background images or colors are used, layout designs, variations in display for different
devices and screen sizes as well as a variety of other effects.
CSS is easy to learn and understand but it provides powerful control over the presentation of
an HTML document. Most commonly, CSS is combined with the markup languages HTML
or XHTML.
Advantages of CSS
CSS saves time − You can write CSS once and then reuse same sheet in multiple HTML
pages. You can define a style for each HTML element and apply it to as many Web pages
as you want.
Pages load faster − If you are using CSS, you do not need to write HTML tag attributes
every time. Just write one CSS rule of a tag and apply it to all the occurrences of that tag.
So, less code means faster download times.
Easy maintenance − To make a global change, simply change the style, and all elements in
all the web pages will be updated automatically.
Superior styles to HTML − CSS have a much wider array of attributes than HTML, so
you can give a far better look to your HTML page in comparison to HTML attributes.
Multiple Device Compatibility − Style sheets allow content to be optimized for more
than one type of device. By using the same HTML document, different versions of a
website can be presented for handheld devices such as PDAs and cell phones or for
printing.
Global web standards − Now HTML attributes are being deprecated and it is being
recommended to use CSS. So its a good idea to start using CSS in all the HTML pages to
make them compatible to future browsers.
CSS-Syntax
A CSS comprises of style rules that are interpreted by the browser and then applied
to the corresponding elements in your document. A style rule is made of three parts −
Selector − A selector is an HTML tag at which a style will be applied. This could be any
tag like <h1> or <table> etc.
Property − A property is a type of attribute of HTML tag. Put simply, all the HTML
attributes are converted into CSS properties. They could be color, border etc.
Value − Values are assigned to properties. For example, color property can have value
either red or #F1F1F1 etc.
You can define selectors in various simple ways based on your comfort. Let me put these
selectors one by one.
Example
h1 {
color: #36CFFF; }
Example
*{
color: #000000; }
Example
ul em {
color: #000000; }
You can define style rules based on the class attribute of the elements. All the
elements having that class will be formatted according to the defined rule.
Example
.black {
color: #000000; }
This rule renders the content in black for every element with class attribute set to black in our
document. You can make it a bit more particular.
Example
h1.black {
color: #000000; }
This rule renders the content in black for only <h1> elements with class attribute set to black.
The ID Selectors
You can define style rules based on the id attribute of the elements. All the elements
having that id will be formatted according to the defined rule.
Example
#black {
color: #000000; }
This rule renders the content in black for every element with id attribute set to black in our
document
CSS-Measurement units
We have listed out all the CSS Measurement Units along with proper Examples −
CSS-Fonts
You can set following font properties of an element −
CSS-Text Properties
This chapter teaches you how to manipulate text using CSS properties. You can set following
text properties of an element −
CSS-Border
Images play an important role in any web page. Though it is not recommended to
include a lot of images, but it is still important to use good images wherever required.
CSS plays a good role to control image display. You can set the following image properties
using CSS.
The border property of an image is used to set the width of an image border. This
property can have a value in length or in %.
CSS-Link
We will revisit the same properties when we will discuss Pseudo-Classes of CSS.
CSS-Border
The border properties allow you to specify how the border of the box representing an
element should look. There are three properties of a border you can change −
CSS-Margins
The margin property defines the space around an HTML element. It is possible to use
negative values to overlap content.
The values of the margin property are not inherited by the child elements. Remember that the
adjacent vertical margins (top and bottom margins) will collapse into each other so that the
distance between the blocks is not the sum of the margins, but only the greater of the two
margins or the same size as one margin if both are equal.
CSS-Padding
The padding property allows you to specify how much space should appear between
the content of an element and its border −
The value of this attribute should be either a length, a percentage, or the word inherit.
If the value is inherit, it will have the same padding as its parent element. If a percentage is
used, the percentage is of the containing box.
The following CSS properties can be used to control lists. You can also set different
values for the padding on each side of the box using the following properties −
4.3 JAVASCRIPT
JavaScript to program the behavior of web pages
The <script> element either contains script statements, or it points to an external script
file through the src attribute.
Common uses for JavaScript are image manipulation, form validation, and dynamic
changes of content.
Scripting Language: As the name suggest, it’s all about giving the script to perform some
certain tasks. Scripting languages are basically the subcategory of programming languages
which is used to give guidance to another program or we can say to control another program,
so it also involves instructions. It basically connects one language to one another languages
and doesn’t work standalone. JavaScript, PHP, Perl, Python, VBScript these all are the
examples of scripting language. Scripting languages need to be interpreted (Scanning the
code line by line, not like compiler in one go) instead of compiled. There is no scope of
compiler in scripting languages. Scripting languages are most widely used to create a
website.
5. PROJECT CODE
INDEX.HTML :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link
href="https://fonts.googleapis.com/css2?
family=Ubuntu+Mono&display=swap"
rel="stylesheet">
</head>
<body>
<header>
<h1 id="top">Online</h1>
<h1 id="top1">FoodShop</h1>
</header>
<hr>
<nav id="navbar">
<img src="data:image/png; ">
<ul id="navcontent">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Menu</a></li>
<li><a href="contact.html">ContactUs</a></li>
</ul>
</nav>
<div id="container1">
<div id="row1">
Welcome to Online FoodShop
</div>
<button class="btn">ORDER NOW</button>
<div id="container3">
<div id="row2">
<button class="btn">Prices</button>
</div>
<div id="row3">
<button class="btn">Specials</button>
</div>
</div>
</div>
<hr>
<h1 id="top3">Featured Products</h1>
<div id="container4">
Department Of Computer Science and Engineering, SVCN Page | 25
B. Tech IV Year -I Sem – Internship 2023
<div id="row4">
<button class="btn">ORDER NOW</button>
</div>
<div id="row5">
<button class="btn">ORDER NOW</button>
</div>
<div id="row6">
<button class="btn">ORDER NOW</button>
</div>
</div>
<footer>Copyright © 2020-2021 OnlineFoodShop.
All Rights are reserved</footer>
</body>
</html>
STYLE.CSS :
/*CSS Reset*/
*{
margin:0px;
padding:0px;
}
/*Header Styling*/
#top{
color:rgb(245, 10, 10);
text-align:center;
font-size:46px;
font-family: 'Ubuntu Mono', monospace;
}
#top1{
text-align:center;
color:black;
font-size:21px;
font-family: 'Ubuntu Mono', monospace;
}
/* Navigation bar styling*/
/*Navbar Functionality*/
#navbar{
display:flex;
flex-direction: column;
background-color: gray;
height: 14vh;
width: 100vw;
Department Of Computer Science and Engineering, SVCN Page | 26
B. Tech IV Year -I Sem – Internship 2023
font-family: 'Ubuntu Mono', monospace;
margin-top:10px;
border: 2px solid black;
border-radius:15px;
}
#row1{
color: black;
font-weight:bold;
font-size: 2rem;
text-align: center;
margin-top: 35px;
}
/*Button Styling*/
.btn{
margin-top:15px;
border: 3px solid white;
border-radius:15px;
background-color:yellow;
font-size:20px;
font-weight: bold;
font-family: 'Ubuntu Mono', monospace;
}
.btn:hover{
cursor: pointer;
background-color: red;
}
#container3{
display: flex;
justify-content: space-evenly;
}
#row2{
width:24vw;
height:21vh;
background-image: url('https://encrypted-tbn0.gstatic.com/images?
q=tbn:ANd9GcTRYS27Wz35HfFMR3HjPKPIiRjgK21Shv4IpUeOt96u1g&usqp=CAU&ec=48665
701');
background-repeat: no-repeat;
background-size: cover;
background-position: bottom;
box-shadow: 2px 7px 16px 19px;
margin-top:51px;
margin-bottom: 51px;
display: flex;
justify-content: center;
align-items: flex-end;
Department Of Computer Science and Engineering, SVCN Page | 28
B. Tech IV Year -I Sem – Internship 2023
position: relative;
margin-right: 38px;
border-radius: 40px;
}
#row2::before{
content: '';
background: url('2.jpeg') no-repeat center center/cover;
position: absolute;
top: 0px;
left:0px;
width: 24vw;
height:21vh;
z-index: -1;
border-radius: 40px;
}
#row3{
position: relative;
background-image: url('https://encrypted-tbn0.gstatic.com/images?
q=tbn:ANd9GcRSTx_bdPia6bD-cjlxtFtn03ea-61QeDlYsucvNQOevg&usqp=CAU&ec=48665701');
background-repeat: no-repeat;
background-size: cover;
background-position: right;
width: 24vw;
height:21vh;
display: flex;
justify-content: center;
align-items: flex-end;
box-shadow: 2px 7px 16px 19px;
margin-top:51px;
margin-bottom: 51px;
margin-left: 38px;
border-radius: 40px;
}
#row3::before{
content: '';
background: url('3.jpeg') no-repeat center center/cover;
position: absolute;
top:0px;
left:0px;
width: 24vw;
height:21vh;
z-index: -1;
border-radius: 40px;
}
#top3{
text-align: center;
color:red;
font-family: 'Ubuntu Mono', monospace;
}
#container4{
display: grid;
Department Of Computer Science and Engineering, SVCN Page | 29
B. Tech IV Year -I Sem – Internship 2023
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
margin: 41px;
}
#row4{
width: 29vw;
height: 360px;
border: 2px solid black;
background-image: url('data:image/jpeg');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
display: flex;
justify-content:center;
align-items:flex-end;
border-radius: 15px;
}
#row5{
width: 29vw;
height: 360px;
border: 2px solid black;
background-image: url('https://encrypted-tbn0.gstatic.com/images?
q=tbn:ANd9GcR2GlCpZAzNcVg-
7STYXgQYcThhSJPssQGoxju6v2R_4A&usqp=CAU&ec=48665701');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
display: flex;
justify-content:center;
align-items:flex-end;
border-radius: 15px;
}
#row6{
width: 30vw;
height: 360px;
border: 2px solid black;
background-image: url('data:image/jpeg;base64');
background-position: center;
background-size: cover;
background-repeat: no-repeat;
display: flex;
justify-content:center;
align-items:flex-end;
border-radius: 15px;
}
/*Designing the footer*/
footer{
text-align: center;
}
/*Designing of Contact Us*/
#ContactUs{
width:100vw;
height:100vh;
display:flex;
Department Of Computer Science and Engineering, SVCN Page | 30
B. Tech IV Year -I Sem – Internship 2023
flex-direction: column;
align-items: center;
background-color: gray;
}
.form-shape input, .form-shape select, .form-shape textarea{
width: 92%;
padding: 0.5rem;
}
/*Changing the color of placeholder*/
::placeholder{
color:gray;
}
/*Making the webpage responsive using media queries*/
@media only screen and (max-width:1131px){
#row4{
width: 42vw;
}
#row5{
width:45vw;
}
#row6{
margin-top: 20px;
width:90vw;
}
}
@media only screen and (min-width:600px) and (max-width:781px)
{
#row4{
width:84vw;
margin: auto;
margin-left: 22px;
}
#row5{
width:84vw;
margin: auto;
margin-top: 20px;
margin-left: 22px;
}
#row6{
width:84vw;
margin: auto;
margin-top: 20px;
margin-left: 22px;
}
}
@media only screen and (max-width:600px){
#row4{
width:78vw;
margin: auto;
margin-left: 3px;
}
#row5{
Department Of Computer Science and Engineering, SVCN Page | 31
B. Tech IV Year -I Sem – Internship 2023
width:78vw;
margin: auto;
margin-top: 20px;
margin-left: 3px;
}
#row6{
width:78vw;
margin: auto;
margin-top: 20px;
margin-left: 3px;
}
}
@media only screen and (min-height:1000px){
#navbar{
height:10vh;
}
#container1::before{
height:39vh;
}
#container1{
height:44vh
}
}
CONTACT.HTML :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content=
"width=device-width, initial-scale=1.0">
<body>
<div id="ContactUs">
<h1>Contact Us</h1>
<form action="#">
<div class="form-shape">
<label for="query">
Type of Query
</label>
<select name="myQuery" id="query">
<option value="sel" selected>
Select
</option>
<option value="ord">
Order related Issues
</option>
<option value="Site">
Department Of Computer Science and Engineering, SVCN Page | 32
B. Tech IV Year -I Sem – Internship 2023
Site related Issues
</option>
<option value="fed">
Complaint related Issues
</option>
<option value="others">
Others
</option>
</select>
</div>
<div class="form-shape">
<label for="name">Name</label>
<input type="text" name="myName"
id="name"
placeholder="Enter your Name">
</div>
<div class="form-shape">
<label for="email">Email-Id</label>
<input type="email" name="myEmail"
id="email"
placeholder="Enter your email">
</div>
<div class="form-shape">
<label for="pho">Phone Number</label>
<input type="phone" name="myPhone"
id="pho"
placeholder="Enter your Phone no">
</div>
<div id="radio">
Are you a member of OnlneFoodShop:
Yes <input type="radio" name="eligible">
No <input type="radio" name="eligible">
</div>
<div class="form-shape">
<label for="message">
Ellaborate your query
</label>
<textarea name="mesg" id="message"
cols="30" rows="10">
</textarea>
</div>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</form>
</div>
</body>
</html>
7. CONCLUSION
The end of this module brought with it new techniques and tools for;
organizing websites
identifying & grouping specific elements within websites
including & embedding multi-media content
adding metadata to further define our webpages
At this point, you should be feeling comfortable with HTML and the ways that this markup
language allows developers and content creators to build and create webpages.
This not only includes your own writing of webpages with HTML, but the necessary step of
reading other’s HTML to understand how they use the language to present content and solve
problems. This latter task is greatly facilitated by the open nature of the Internet, and the fact
that all content is sent as documents to your web browser, allowing you to view others source
code.
This is quite exciting, as it will allow you to transform your “plain” looking pages. This work
will build directly off of your knowledge and understanding of HTML. Therefore, if you are
still struggling with any topics or concepts, please leverage your resources (i.e., the
instructors, class issues forum, and google) and take the time this week to bring everything
taught so far in this semester together.
8. REFERENCES
I. www.javatpoint.com
II. www.w3schools.com
III. www.geeksforgeeks.org
IV. www.wikipedia.com