Professional Documents
Culture Documents
its success. In this day and age, some businesses still don’t realize that a majority
strong online presence, particularly a website, can be make or break for generating
more revenue. If you plan on leveraging digital marketing to increase your leads
and grow your business, you'll likely want to drive traffic to a website or landing
page. To do this effectively, leverage historic traffic that has been going to your
website so you can target the most qualified customers and get the best ROI on
get your website running early even if you’re not planning on running ads at the
moment.
1|Page
INTRODUCTION
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
document.
and other items. HTML elements are delineated by tags, written using angle brackets.
Tags such as <img /> and <input /> directly introduce content into the page. Other
2|Page
tags such as <p> surround and provide information about document text and may
include other tags as sub-elements. Browsers do not display the HTML tags, but use
affects the behavior and content of web pages. Inclusion of CSS defines the look and
layout of content.
Computer programmers must think through the tasks that they want their programs
instructions to tell the computer what to do. Although you do need to do some
thinking and planning when you use HTML, it is not nearly that difficult. So,
Hypertext refers to the way in which Web pages (HTML documents) are linked
together. When you click a link in a Web page, you are using hypertext. It is this
system of linking documents that has made the World Wide Web the global
simply “mark up” a text document with tags that tell a Web browser how to
structure it. HTML originally was developed with the intent of defining the structure
3|Page
of documents (headings, paragraphs, lists, and so forth) to facilitate the sharing of
learn what type of markup to use to get the results you want
4|Page
FOUR KEY CONCEPTS
The first step toward understanding and working with HTML is learning the basic terms
that describe most of the functions of this language. You will come across these terms
repeatedly as you use HTML and if you understand them, you will have progressed a long
ELEMENTS
portion of a page is placed. Whatever is contained inside the element will take on the
characteristics of that element. For example, to identify a heading on a page, you would
If you want to create a table, you put the table information inside the table element
TAGS
Often, you’ll find the terms element and tag used interchangeably. It’s fairly common, but
not strictly accurate. An element is made up of two tags: an opening tag and a closing tag.
Although it might seem somewhat picky to make this distinction, when you begin to work
difference to remember.
5|Page
If you get into the habit of distinguishing elements and tags from the very beginning,
All tags are constructed the same way. The tag begins with a “less than” sign (<), then the
element name, followed by a “greater than” sign (>). For example, an opening tag for
the paragraph element would look like this: <p>. The only difference in a closing tag is
that the closing tag includes a slash (/) before the element name: </p>. Your content goes
Some elements do not use closing tags because they do not enclose content. These are
called empty elements. For example, the line break element <br> does not require a closing
tag. In the case of empty elements, add a closing slash after the element name, like this:
<br />. When a browser sees the slash, it will recognize the element as one that does not
6|Page
ATTRIBUTES AND VALUES
Attributes are another important part of HTML markup. An attribute is used to define the
For example, to specify the size of an image or graphic on your page, you would use
Be sure to notice that an equals sign and a set of quotation marks follow both the height
That’s because attributes need values to go with them. In the case of the preceding
illustration, you might add a value of 200 to cause your image to display at a size of 200 x
200 pixels:
characteristics. An easy way to think of how attributes and values work together is to
compare them with nouns and adjectives. A noun names something; an adjective describes
7|Page
Imagine that you are trying to identify a person’s hair color with a markup
NESTING
Often you will want to apply more than one element to a portion of your page. An essential
concept to understand is nesting. Nesting simply means that elements must never overlap.
Properly nested elements are contained inside one another, as in the following:
Sometimes it’s easier to understand the concept if the elements are displayed vertically,
like this:
<a><b><C>
</c>
</b>
</a>
<a>
<b>
</a>
<c>
</b>
</c>
8|Page
Web browsers displaying an HTML page can be pretty forgiving if your elements are not
properly nested; however, overlapped elements can create garbled results, particularly if
you are trying to construct frames or tables. Also, when you become familiar
absolute “no-no.”
9|Page
INTERACTIVE RESTAURANT WEBSITE
This is dynamic website which gives all the information about a restaurant website where
one can prder food online or know about the restaurant in and out.
The website has been developed in HTML. HTML is a markup language which is in reality
a backbone of any site, every site can’t structure without the knowledge of html.
If we make our web page only with the help of html, then we can’t add many of the effective
features in a web page, for making a web page more effective we use various platforms such
as HTML.
So here we are using these entire features to make our web pages more effective as well as
efficient.
In this project, we will create an interactive homepage of a restaurant, where the background
image will change when we hover over a menu option. For example, if you hover over menu
navigation, it will display a menu card, if you hover over the home, it will show the default.
You have to give your image names and locations for this to work.
This functionality is done through jQuery. Same way, the ‘order now’ button will keep
flashing. We have done this by using @keyframes functionality which we have used in our
10 | P a g e
TECHNOLOGY USED IN THIS WEBSITE
JAVASCRIPT – All the Animations and the validation task has been developed by
Javascript.
11 | P a g e
SOURCE CODE:
<html>
<head>
<style>
body{
font-size:20px;
color: white;
background-size: cover;
float:right;
.box ul li{
width: 120px;
float:left;
text-align: center;
.mainmenu
.mainmenu a
.mainmenu a:hover
.mainmenu img{
position: fixed;
12 | P a g e
z-index: -1;
opacity: 0.9;
.wd{
width: 300px;
height: 539px;
background-color: black;
opacity: 0.8;
padding: 55px;
.wd h1{
text-align: center;
text-transform: uppercase;
font-weight: 300px;
.wd h4{
text-align: justify;
color:darkgray;
font-weight: 100px;
.wd h2{
text-align: center;
13 | P a g e
text-transform: uppercase;
font-weight: normal;
background-color: black;
color:white;
/* padding:10px;*/
margin:-14px auto;
padding-left: 50px;
padding-right: 50px;
text-align: center;
font-size: 16px;
form, input[type="button"] {
font-weight: 500%;
@keyframes glowing {
0% {
background-color: red;
50% {
background-color: orange;
14 | P a g e
}
100% {
background-color: blue;
</style>
</head>
<body>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.mi
n.js"></script>
<script>
$(function(){
$(".mainmenu a").mouseover(function(){
$(this).parent().find('img').attr("src", newimg);
});
});
</script>
<div class="box">
<div class="mainmenu">
<img src="food.png">
15 | P a g e
<a href=""> FAQ</a>
</div>
</div>
<div class="wd">
<div class="opt">
</form>
</div>
</div>
</body>
</html>
16 | P a g e
OUTPUT OF THE WEBSITE-
Upon hovering on the menu navigation, the page will look like:
17 | P a g e
CONCLUSION
In the end, we want to conclude that practical training is of great importance as it
gives the exposure and an opportunity of presenting a seminar before the audience.
18 | P a g e
REFERENCES:-
https://www.sourcecodester.com/
https://www.wikipedia.com/
https://www.geeksforgeeks.com/
https://www.youtube.com/
19 | P a g e