Sop1 To 7 Content
Sop1 To 7 Content
Aim:Create a website using HTML5 and CSS using any 4 CSS properties.
Write a code for two separate pages having different file names such as
first page Index.html and second page as page2.htm. Every page must
contain proper Meta data information and design as follows-
The Index page must contain a heading that is highest among other text on
pages and must be at the center of the page. There must be a paragraph
that introduces general information about the theme and atleast 3 style tags
and one image with alternate text. Page must be connected with proper
navigational links.
The second page must contain a feedback or enrollment form related with
theme chosen features of HTML5. The form must contain text element and
and email address of the company or person. Include the Submit Button.
Solution:
SOP 1 Code File
(index.html):
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
p{text-decoration : underline;font-style: bold;color:green; font-size:
24px;margin-left: 130px; max-width: 1100px;}
h1{text-align: center;}
</style>
<title>XYZ College of Commerce Science & Arts</title>
<meta name="keywords" content="Faculty, students">
<meta name="description" content="A college Website dealing with
students and teachers/Faculty's data">
</head>
<body>
<h1>XYZ College of Commerce Science & Arts </h1>
Page2.html
PRACTICAL NO. 2
Title : Creation of a Webpage in html 5 with the help of CSS and its
other features.
Aim : Create a webpage using HTML and CSS code to design a webpage
as the layout displayed below.
The top section will display the heading, ‘Tourist Places’ in header.
The section on the left has list of cities. The right hand side display
tourist places in any one of the city.
Use Inline style sheet in the top section to display background colour
for the text ‘Tourist Places’. Use internal stylesheet for the left and
right section with background colour and font styles.
Solution:
<html>
<head>
<title>Practical No. 2</title>
<style>
header{background-color:skyblue; width:99.5%;height:30%;
float:top;border:4px solid}
section{background-color:LemonChiffon;width:50%;height:65%;
float:Left;border-style:solid;margin:3}
.cc{font-size:50px;font-style:Calibri;position:fixed;left:50px}
aside{background-color:Pink;width:48%;height:65%;
float:Right;border-style:solid;margin:3}
h3{font-size:45px;position:fixed;Left:730px}
</style>
</head>
<body>
<header>
<h1 style="Color:deepPink;font-size:70px;text-align:center">Tourist
Places</h1>
</header>
<section>
<h3 class=cc>
CITY
<ol>
<li>Pune</li>
<li>Bangalore</li>
<li>Hyderabad </li>
<li>Delhi</li>
</ol></h3>
</section>
<aside>
<h3>
Tourist Places in Pune
<ul>
<li>Shaniwarwada</li>
<li>Kelkar Museum</li>
<li>Sinhgad fort</li>
</ul>
</h3>
</aside>
</body>
</html>
Output:
PRACTICAL NO. 3
Title: Use of Audio on web pages using HTML5.
Aim: Create a webpage named audio.html to set an audio file in webpage
with controls such that it uses HTML5 elements. The audio file must play
as soon as the webpage loads in browser and it will start over again, every
time when it is completed.
<audio controls>
</audio>
</body>
</html>
Second File: Audio_1.html
<html>
<head>
<title>Practical No. 4 </title>
</head>
<body bgcolor="yellow">
<audio controls>
</audio>
</body>
</html>
PRACTICAL NO. 4
Title: Use of video on webpages using HTML5.
Aim: Create a webpage named video.HTML to display a video file on
webpage and plays automatically with controls. The dimension of video
area should be 150 * 150 pixels.
Solution:
Copy any video file (.mp4, .ogg and .webm extensions) into your
folder. Total 2 HTML files are created.
Name of First File : Video.html (This file has only one source file) Name
of Second File : Video1.html (This file has multiple source files)
Video.html
<html>
<head>
<title>Video One File</title>
</head>
<body bgcolor="Orange">
<h1>Insertion of Video File With control having multiple source files</h1>
This is Video Player
<video controls height="200" width="200">
Video1.html
<html>
<head>
<title>Video One File</title>
</head>
<body bgcolor="Orange">
<h1>Insertion of Video File With control having multiple source files</h1>
This is Video Player
<video controls height="200" width="200">
<Source src="file_example_MOV_480_700kB.mov" type="video/mov">
<Source src="file_example_MP4_480_1_5MG.mp4" type="video/mp4">
<Source src="file_example_WEBM_480_900KB.webm"
type="video/webm">
Your browser does not support Video Tag
</video>
</body>
</html>
PRACTICAL NO. 5
Title: Navigation on an image using Client side image
mapping in web page using HTML5.
Solution:
Total Five files are there. Out of five, One file is an image file,
four html files are created such as one file is main file and the
other three files are local files for linking with the main file.
Imagemap.html
<html>
<head>
</head>
<body bgcolor="Skyblue">
<map name="mymap">
<area Shape="Circle"
coords="154,186,80" href="One.html"
Alt="This is Local File One">
<area Shape="Rect"
coords="496,117,564,35"
href="Two.html" Alt="This is Local File
Two">
<area Shape="Poly"
coords="522,354,452,53,382,351"
href="Three.html"
</map>
</body>
</html>
One.html
<html>
<head>
<title>Hyperlink One</title>
</head>
<body bgcolor="Yellow">
</body>
</html>
Two.html
<html>
<head>
<title>Hyperlink two</title>
</head>
<body bgcolor="pink">
</body>
</html>
Three.html
<html>
<head>
<title>Hyperlink three</title>
</head>
<body bgcolor="skyblue">
<h1>this is a page three </h1>
</body>
</html>
Method: Download any jpeg file into your folder. Open that
file with Microsoft Paint. Adjust the image which is opened in
Paint, such that the entire screen is occupied with the image.
The Paint screen should not have any scroll bar. If scroll bar
is there, then resize the image to fit it into that screen.
Now, execute the imagemap file. You will see the following
output. If you click on Circle, one.html file will get opened.
And So on.
Output:
PRACTICAL NO. 6
Title: Use of free online S.E.O. Tool to optimize a given website and write
the findings.
Aim: With the help of freely online available S.E.O. tool optimize the
given website and write down the following findings about the website:
Website:
Findings:
1. Name of the website which you are optimizing.
2. Whether the site has title tag.
3. Whether the site has header tags? If yes, which tags are
there? 4. Whether the images used, do they have alt
attribute?
5. What is the comment about usability?
Solution:
Steps 1: Collecting the website which is to be optimized: ∙ In the given
practical, as website is not given which is to be optimized.
∙ Website will be given by th examiner, so as here the website
given is: https://www.ajio.com/
Step 2: Getting free online SEO Optimizer Tool and putting the website
name which is to be optimized:
∙ Open any web browser.
∙ Type in the URL https://www.woorank.com.
∙ This is free SEO online optimizer tool.
∙ In the Search box, type in the website name which to be
optimized i.e. https://www.ajio.com/ and click on try it for
free.
Step 3: To check the result of Whether the Site has title tag: ∙ After
getting the result, it is observed that the website has title
tag.
∙ The title is: Online Shopping for Women, Men, Kids –
Clothing, Footwear, and Fashion | AJIO.
Step 4: To check whether the site has header tags and if yes then which
header tags:
∙ After getting the result, It is observed that the site has header
tag. ∙ The site has 6 Number of Times Heading level 2 i.e. <h2>
tag is there.
Step 5: To check whether the site has used images or not and also alt
attribute is used or not:
∙ It is observed that the site has used 5 images on that
webpage. ∙ But none of the images have alt attributes used
in it.
Step 6: Comment about user usability:
∙ Usability is about people's behaviour after they arrive on your
site, with the main goal being to increase the conversion
rate.
∙ The website is frequently visited by the users.
∙ The conversion rate is about 60%.
Outputs:
Solution:
Steps 1: Collecting the website which is to be optimized: ∙ In the given
practical, as website is not given which is to be optimized.
∙ Website will be given by th examiner, so as here the website
given is: https://www.ajio.com/
Step 2: Getting free online SEO Optimizer Tool given in the practical i.e.
https://varvy.com/ and putting the website name which is to be optimized:
∙ Open any web browser.
∙ Type in the URL https://varvy.com/ and press enter key.
∙ We find that the site is currently under construction. So open
the other free S.E.O. audit tool.
∙ Type in the URL https://www.woorank.com.
∙ This is free SEO online optimizer tool.
∙ In the Search box, type in the website name which to be
optimized i.e. https://www.ajio.com/ and click on try it for
free.
Step 3: To check whether all CSS and JavaScript files seem visible to
Googlebot?
∙ After getting the result, it is observed that the website has
many JavaScript and CSS file.
∙ These are visible on Googlebot.
Step 4: To check whether the page seems to display well on mobile
devices?
∙ After getting the result, it is observed that the site is
properly visible on all mobile devices as the result is
given by S.E.O. Tool.
Step 5: To check whether the webpage is secured with HTTPS:
∙ It is observed that the website is SSL Secured i.e.
HTTPS. ∙ The website’s URL redirect to HTTPS
pages.
∙ The website is configured with HSTS.
∙
Step 6: To check whether the website has robot.txt file or not:
∙ It is observed that the website has Robot.txt file.
Outputs:
Whether the page seems to display well on mobile devices?