Professional Documents
Culture Documents
HSC Sop 1 (Advance Web Designing)
HSC Sop 1 (Advance Web Designing)
INFORMATION TECHNOLOGY
LAB MANUAL
SCIENCE DEPARTMENT
INDEX
Sr. No Name of Experiment Page No Date Remarks Signature
CERTIFICATE
academic year 20 - 20
Place:
Date: / /
Create a website using HTML5 and CSS using any 4 CSS properties. Write a
code for 2 separate pages having different file names such as first page as
Index.html and second page as page2.html. Use any theme such as college
profile or company profile etc. Every page must contain proper Meta
information and design web page as follows-
1) The index page must contain a heading which is highest among other
text on pages and must be at centre of the page. There must be a paragraph
which introduces general information about the theme chosen & must have
at least 3 physical style tags and one image with alternate text. This page
must be connected to other page with proper navigational links.
2) The 2nd page must contain the feedback or enrolment form related with
theme chosen with features of HTML5. The form must contain text element
and email address of the company or person. Include the submit button.
Theory
Hyper Text Markup Language
HTML is an acronym which stands for Hyper Text Markup Language which
is used for creating web pages and web applications.
Hyper Text: HyperText simply means "Text within Text." A text has a link
within it, is a hypertext. Whenever you click on a link which brings you to a
new webpage, you have clicked on a hypertext. HyperText is a way to link
two or more web pages (HTML documents) with each other.
<html > :This tag informs the browser that it is an HTML document. Text
between html tag describes the web document. It is a container for all other
elements of HTML except <!DOCTYPE>
<head>: It should be the first element inside the <html> element, which
contains the metadata(information about the document). It must be closed
before the body tag opens.
<title>: As its name suggested, it is used to add title of that HTML page
which appears at the top of the browser window. It must be placed inside
the head tag and should close immediately. (Optional)
<body> : Text between body tag describes the body content of the page
that is visible to the end user. This tag contains the main content of the
HTML document.
<h1> : Text between <h1> tag describes the first level heading of the
webpage.
<p> : Text between <p> tag describes the paragraph of the webpage.
Cascading Style Sheets
CSS stands for Cascading Style Sheets. It is a style sheet language which is
used to describe the look and formatting of a document written in markup
language. It provides an additional feature to HTML. It is generally used with
HTML to change the style of web pages and user interfaces. It can also be
used with any kind of XML documents including plain XML, SVG and XUL.
CSS is used along with HTML and JavaScript in most websites to create user
interfaces for web applications and user interfaces for many mobile
applications.
CSS Syntax:
Selector: Selector indicates the HTML element you want to style. It could be
any tag like <h1>, <title> etc.
1. color: yellow;
2. font-size: 11 px;
Value: Values are assigned to CSS properties. In the above example, value
"yellow" is assigned to color property.
E.g :
Selector{Property1: value1; Property2: value2; ...............;}
SOP 1 PRACTICAL PART1
<!DOCTYPE html>
<html>
<head>
<title>Form</title>
<style>
h1{
text-align:center;
font-size:60px;
color:yellow;
}
p{
color:black;
text-align:left;
font-size:20px;
}
h2{
text-align:center;
}
</style>
</head>
<body bgcolor=green>
<img src="dpes.jpg" alt="dpes logo" width="120" height="90"
style="vertical-align:top-center">
<h1>Dhole Patil College Of Arts Commerce and Science</h1>
<p>
<center> Near Eon IT Park,Wagholi,Pune-412207<br> </center>
U-DISE NO. 27250508654 | Index No. J-1105055 | Approved by
Government of Maharashtra Affiliated to Maharashtra State Board of
Secondary and Higher Secondary Education (SSC & HSC Board)
</p>
DPES is backed by rich history and social development activities of the Dhole
Patil family. Today, the institutions under the trust are at the forefront of
education including academics, sports and social activity, among the Pune
colleges. We offer infrastructure, technical support and facilities comparable
to the best in the country.</br>
</p>
<html>
<head>
<title>
Registration Page
</title>
</head>
<body bgcolor="Lightskyblue">
<br>
<br>
<h1> Admission Form</h1>
<form>
<label>
Course :
</label>
<select>
<option value="Standard">Standard</option>
<option value="11th">11th</option>
<option value="12th">12th</option>
</select>
<select>
<option value="Course">Course</option>
<option value="Arts">Arts</option>
<option value="Commerce">Commerce</option>
<option value="Science">Science</option>
</select>
<br>
<br>
<label>
Gender :
</label><br>
<input type="radio" name="male"/> Male <br>
<input type="radio" name="female"/> Female <br>
<input type="radio" name="other"/> Other
<br>
<br>
<label>
Phone :
</label>
<input type="text" name="country code" value="+91" size="2"/>
<input type="text" name="phone" size="10"/> <br> <br>
Address
<br>
<textarea cols="80" rows="5" value="address">
Experiment No 2
Create a webpage using HTML and CSS code to design a web page 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 displays tourist places of any one of the city .
Use Inline style sheet in the top section to display background color for the text ‘Tourist
places’. Use internal stylesheet for the left and right section with background color and font
styles.
Theory:
HTML lists allow web developers to group a set of related items in lists.
HTML List Tags are as follows:
Tag Description
<ul> Defines an unordered list
<ol> Defines an ordered list
<li> Defines a list item
<dl> Defines a description list
<dt> Defines a term in a description list
<dd> Describes the term in a description list
Value Description
Output:
Unordered List with Disc Bullets
Coffee
Tea
Milk
Type Description
type="1" The list items will be numbered with numbers (default)
type="A" The list items will be numbered with uppercase letters
type="a" The list items will be numbered with lowercase letters
type="I" The list items will be numbered with uppercase roman numbers
type="i" The list items will be numbered with lowercase roman numbers
Example:
<!DOCTYPE html>
<html>
<body>
<h2>Ordered List with Letters</h2>
<ol type="A">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
</body>
</html>
Output:
Ordered List with Letters
A. Coffee
B. Tea
C. Milk
SOP2 Code:
<!Doctype html>
<html>
<head>
<title> Tourist Place </title>
<style>
section{background-color:yellow;width:50%;height:50%;
float:left;color:black;font-size:30px;outline-style:solid;} aside
{background-color:pink;width:50%;height:50%;
float:right;color:black;font-size:30px;outline-style:solid;}
</style>
</head>
<body>
<header style="background-color:lightblue;color:deeppink;text-
align:center; height:30%;width:100%;font-size:50px;outline-
style:solid">Tourist places
</header>
<header>
<section>
<b> City </b>
<ol>
<li> Pune </li>
<li> Delhi </li>
<li> Banglore </li>
<li> Hyderabad </li>
</ol>
</section>
<aside>
<p> Tourist places in Pune </p>
<ul>
<li> Shaniwarwada </li>
v
Experiment no.3
Create a webpage named audio.html to set an audio file in web page 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.
Theory
Multimedia Formats
The most common way to discover the type of a file, is to look at the file
extension.
Multimedia files have formats and different extensions like: .wav, .mp3,
.mp4, .mpg, .wmv, and .avi.
MP3 is the best format for compressed recorded music. The term MP3 has
become synonymous with digital music.
MP3 .mp3 MP3 files are actually the sound part of MPEG files. MP3
is the most popular format for music players. Combines
good compression (small files) with high quality.
Supported by all browsers.
MP4 .mp4 MP4 is a video format, but can also be used for audio.
Supported by all browsers.
Note: Only MP3, WAV, and Ogg audio are supported by the HTML standard.
E.g:
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
The controls attribute adds audio controls, like play, pause, and volume.
The <source> element allows you to specify alternative audio files which the
browser may choose from. The browser will use the first recognized format.
The text between the <audio> and </audio> tags will only be displayed in
browsers that do not support the <audio> element.
SOP2 PRACTICAL PART1
<!Doctype html>
<html>
<title> Audio Controls </title>
<body>
<audio controls autoplay>
<source src="test.mp3" type="audio/mp3">
<audio controls>
</body>
</html>
OUTPUT
<!Doctype html>
<html>
<title> Audio Controls </title>
<body>
<audio controls autoplay>
<source src="test.mp3" type="audio/mp3">
<source src="test1.ogg" type="audio/ogg">
<audio controls>
</body>
</html>
OUTPUT
Experiment No.4
Create another webpage which provide multiple source file formats for the
same video file that plays a sound automatically with controls. The
dimension of video area should be 100*100 pixels. The browser should
display the message with appropriate attribute when video file is not
supported by browser. The code must incorporate the list of video files
formats (like webM, MP4 or ogg etc).
Theory:
Note: Only MP4, WebM, and Ogg video are supported by the HTML
standard.
E.g:
<!DOCTYPE html>
<html>
<body>
<!DOCTYPE html>
<html>
<body>
OUTPUT
Experiment No 5
Theory:
Search engine optimization (SEO) is the practice of getting targeted traffic to a website from
a search engine’s organic rankings. Since organic search is one of the ways through which
people discover content online, higher rankings can translate to higher organic traffic to a
website. SEO includes both technical and content practices aimed to align with the best
search engine algorithm needs. Common tasks associated with SEO include creating high-
quality content, optimizing content around specific keywords, and building backlinks.
While there is a way to maximize results, it is almost impossible to fully manipulate search
algorithms. Businesses often look to the shortest path toward ideal results with the least
amount of effort, but SEO requires a lot of action and time. There is no SEO strategy where
something can be changed today with the expectation of clear results tomorrow. SEO is a
long-term project, with daily action and constant activity.
Search engines use bots to crawl all website pages, downloading and storing that
information into a collection known as an index. This index is like a library and when
someone searches for something in it, the search engine acts as the librarian. The search
engine pulls and displays relevant information from the search query and shows users
content related to what they were looking for. Search engine algorithms analyze webpages
in the index to determine the order those pages should be displayed on the SERP.
Steps:
1. The website is https://www.seoptimer.com/
2. The software used is SEOoptimer
3. The four suggestions to improve website
For OFFPAGESEO
Make friendly urls
Not connected to any social media
Guest blogging is not done
2 broken links found
Importance of SEO
It is the technique for designing and developing a website to be rank high in search
engine results.
It is a subset of SEM(Search Engine Marketing).
SEO is useful in increasing number of visitors in a website.