Web-Desgning & Development-622
Web-Desgning & Development-622
Practical 5 - Create table and use its various attributes using HTML
AIM
Objectives
Software required
¢ Notepad.
e Internet Explorer / Google Chrome/ Mozilla Firefox or any other browser software.
Pre-requisite
Procedure
Step 1 - Creating our first HTML page.
Open a code editor like Visual Studio Code, Sublime Text or Notepad++. If you don't
have
<!DOCTYPE html>
<html>
<head>
<title
</head>
<body>
<h1>This is home page</hl>
<a href="ill effects of pollution.html”> effects </a>
"gallery.html”>gallery<,
aph.html">census </
[8 5 WH J 5 J
(=}]
pv
Then create a basic HTML structure like the one below (I will provide the source
code at the
<IDOCTYPE html
<html
<head
<titlex</title:
head;
<body>
chemicals eventually becomes infertile and unable to support crops and other plant
life. This hinders food production and can lead to malnourishment in local
ol!
h1>I11 effects of pollution</hi |
communities. </p:
<p><b>Effects of Water Pollution</b
Pollutants in water resulting from trash, oil spills, sewage spills and run-off
from agricultural fields, construction sites and factories affect native
plant and animal species. Drinking contaminated water caused by sewage overflow may
cause sickness and digestive problems in humans. Pollutants such as
mercury in fish and seafood can lead to serious health problems</p
galery ptm!
vo Ee i DOCTYPE html
<html>
head:
titles</title
Thead>
<body:
><> <font size="10">A picture gallery showing pollution and its effects in various
parts af the country. c/font
<h2x<by<font size="6"3Soil pollutionc/font></br</h2
Save this notepad file in your preferred folder location and save it as index.html
Now, we
<hi>ehs<font size="18">Census figures with graphs that show the rise in pollution
levels</font>
ing src stion graph. jal” height="380px" wide =
<body
will change the title and create a header for this web page.
Step 2: Creating Two More Web Pages.
Similar to how we created the home page, we will create two more web pages. The
contact
page and the about page. Our folder now looks like this.
MB home.htmi
<!1DOCTYPE
BW Ne
iow
is home page</!
e [t's now time to link the multiple pages that we have created on our website.
eo We will create a navigation menu that will link all of the pages together.
e We will first change the code in our index.html page to the below: And we will
copy
this nav element to the other pages as well (about.html and contact.html)
DO Alesy/C:iUsersfuser/Dacuments/New folder/hemeihtm
Now, go back to your folder where you have saved all your files.
Right click on the index.html file and open this file with the preferred browser.
Observations
Use the navigation on the top to navigate between pages. This is how you can make
multi-
A picture gallery showing pollution and its effects in various parts of the
country.
Soil pollution
SSS
‘Water pollution
Air pollution
/C:/Users/user/Documents/New:. X +
Census figures with graphs that show the rise in pollution levels
FOS Ch a ap)
Ei
Aim
Objective
After completion of this practical you will be able to insert image maps on a web
page.
Software required
Notepad.
Internet Explorer / Google Chrome/ Mozilla Firefox or any other browser software.
Pre-requisite
Procedure
1.
2
3.
4
Open Notepad.
Insert a picture of human body. Type the code for home page.
Save it as home.html.
Follow the steps 1, 2 and 3 to create other webpages giving information on each
kipocTyPE html>
<html>
</html>
Observations
* [mage Maps
Result
LEE
wo
nom ®
ar
C mp6 ana ed Ee
© (© WhatsApp x KO) Home: The National Instite. X | fy Online Admission-NIOS ~~ X |
€) Telegram Web.
€ => C a niosacin
2x »00 :
AN Gescure Sur Comer Soesn Reager ccess| Sota manconient | Ted Sze (A- (A Av, |
Convastscrere (A) [| [Engen] [frft] -
A ; . Ta= ewe
National Institute of Open Schooling A:=dC rr a
(An autonomous institution under Ministry of Education, Govt. of India)
S Fr - SH — =
Town wht po = a the World) 1x00 ® CERTIIED r
1 - ENG 1649
e Houpeéne=@aE ne Bean 50
Aim
eo Apply CSS to a HTML document.
e Use Cascading style sheets (CSS) to add background colour and font. Also add the
Objectives
e use Cascading Style Sheets (CSS) to insert various style effects on a web page.
e add a navigation bar on the web page.
BY ii effects of potiutionntml x
DOCTYPE
background:
Exposure to high levels of air pollution can cause a variety of adverse health
outcomes. It increases the risk of respiratory infections, heart disease and
lung cancer. More severe impacts affect people who are already 111.<
7 Pollutants in water resulting from trash, oil spills, sewage spills and run-off
from agricultural fields, construction sites and factories affect native
plant and animal species. Drinking contaminated water caused by sewage overflow may
cause sickness and digestive problems in humans. Pollutants such as
mercury in fish and seafood can lead to serious health problems
Software required
¢ Notepad.
e Internet Explorer / Google Chrome/ Mozilla Firefox or any other browser Software.
Pre-requisite
Procedure
e Open Notepad.
e Type the HTML code with <style> element in the <head> area of the HTML code.
Observation
Formatting a web page using: - Section heading tags. - Paragraph formatting tags. -
Aim
DOCTYPE
type=
height:
width:
.translate{
background-color:
J
.translate:hover{
transform:
ly
-rotate{
background-color:
E;
.rotate:hover{
transform:
transition: 5;
3}
.skew{
background-color:
. skew: hover{
transform:
transition:
class="translate”
class="rotate"
class=" :
Objectives
Software required
e Notepad.
Pre-requisite
Procedure
<!DOCTYPE html>
<html>
<head>
<title>Web Designing & Development</title>
<style>
= 4
margin: ©;
padding: ©;
¥
.navbar {
display: flex;
align-items: center;
justify-content: center;
position: sticky;
top: ©;
cursor: pointer;
.background {
background: black;
background-blend-mode: darken;
background-size: cover;
-nav-list
width: 70%;
display: flex;
align-items: center;
.logo {
display: flex;
| Jjustify-content: center;
align-items: center;
align-items: center;
.logo img {
width: 180@px;
border-radius: 50px;
.nav-list 1i {
list-style: none;
padding: 26px 3@px;
.nav-list 1i a {
text-decoration: none;
color: white;
.nav-list 1i a:hover {
color: grey;
.rightnav {
width: 30%;
text-align: right;
#search {
padding: 5px;
font-size: 17px;
border: 2px solid grey;
border-radius: 9px;
.firstsection {
background-color: green;
height: 488px;
.secondsectien {
background-color: blue;
height: seepx;
-box-main {
display: flex;
justify-content: center;
align-items: center;
color: black;
max-width: E8%;
margin: aute;
height: gex;
firsthalf {
width: 1ee%;
display: flex;
flex-direction: column;
justify-centent: center;
.secondhalf {
width: 38%;
¥
.secendhalf img {
width: 7ek;
border: 4px solid white;
border-radius: 158px;
display: block;
margin: auto;
text-big {
font-family: "Piazzolla’, serif;
font-weight: bold;
font-size: 35px;
Ltext-small {
font-size: 13px;
}
3
btn {
padding: Spx 2epx;
margin: 7px 2;
border: 2px solid white;
border-radius: 8px;
background: none;
caler: white;
cursor: pointer;
.btn-sm {
padding: epx 12px;
vertical-align: middle;
«section {
height: 4eepx;
display: flex;
align-items: center;
justify-content: center;
max-width: ge¥;
margin: auto;
.section-Left {
flex-direction: row-reverse;
:
paras {
padding: epx E5px;
thumbnail img {
width: 258px;
border: 2px solid black;
barder-radius: 26px;
margin-top: 19px;
center {
text-align: center;
.text-footer {
text-align: center;
padding: 3epx @;
font-family: ‘Ubuntu’, sans-serif;
display: flex;
justify-content: center;
color: white;
}
</style>
</head>
<body>
<nav class="navbar background">
<ul class="nav-list">
«div class="logo">
<img src= "C:\users\user\OneDrive\Desktop\HTML\nios.png">
</div>
<li><a href="https://ww.nios.ac.in/">Nios</a></1i>
<li><a href="https://www.nios.ac.in/online-course-material.aspx”>Course
Materials</a></1i>
<li><a href="https://sdmis.nios.ac.in/">Nios Admission</a></1i>
</ul>
<div class="rightnav">
<input type="text" name="search” id="search">
<button class="btn btn-sm">Search</button>
</div>
</nav>
«section class="firstsection™>
<div class="box-main™>
«div class="firstHalf">
<hl class="text-big" id="web">About Nios</h1>
<p class="text-small">
The main objectives of NIOS are: To provide professional
advice to the Government of India, and to the States, regarding
proper development of Open and Distance Learning System at
school level in response to requests from the concerned
Government/s or suo moto.
</p>
</div>
</div>
«/section>
¢<section class="secondsection”>
<div class="box-main">
<div class="firstHalf"»
<h1l class="text-big" id="program">Eligibility of nios asdmission</hi>
<p tlass="text-small">
KIOS and CBSE are equal accerding to
the syllabus and eligibility. KICS
and CBSE both have their own advantage
and disadvantage. It is one of the three
central beards- ICSE, CBSE, WIOS.
</p>
<fdivy
</div>
«<fsection»
«section class="section™>
«div class="paras">
<h1l class="sectionTag text-big"»>Registration Process</hix
<p»
</div>
<div class="thumbnail™»
<img src= "C:h\Usershuser\OneDrive‘\Desktop'HTMLYimg.png" alt="laptop image»
</fdive
<fsection>
«footer class="background™>
<p class="text-footer"»
</ footer»
</body>
</html>
Observation
Result
Registration Process
Aleamer who has passed class VIII and has valid proof of attaining 14 years of age
can apply for registration to the Secondary Course. The learner wha gives a self
certificate stating that "I have studied and able to pursue the secondary course”
is also eligible for admission to the Secondary Course.
Practical- 5
Aim
¢ Create table and use its various attributes using HTML.
Objectives
e create forms.
¢ submit the form.
Software required
eo Notepad.
Pre-requisite
Procedure
e Use input tag, text box, combo box and radio button for entering the values in
the
registration form.
® Save this file using .html or .htm extension
FOLDERS
¥ @ human body
1 @ computer keybe|
[6 fombom
© home.html
2 human bodyjpg
Ao
rey x rcs x | son x | + - a x
« => OC DO filey//C:/Users/user/Documents/human body/form. him @ =
Registration form
Student Name
[CErr— rrr
Age
Gender
Class
Address
Conlact no.
Email Id.
EN
[ER
Practical- 6
Aim
e (Create formsin HTML and CSS.
Objectives
Software required
eo Notepad.
Pre-requisite
Procedure
e Create 5 rows in the table and type the column headings and value for each
column.
e Save this file using .html or .htm extension.
Observation
Result
DOCTYPE hemi
title
y
<table border:
t
:
th colspan= Class XI B [rar Sheet</th
tr
<tr
Name th:
>English</th
Mathematics th
Physics</th
-chemistry</th>
Computer Science</th
Total</th
Aaryan
90-
Shivansh</td
table.ntmi
Practical - 7
Aim
Objectives
Software required
e Adobe Dreamweaver.
Pre-requisite
Procedure
Running Dreamweaver
The SSCC has made Dreamweaver available to all SSCC users on Winstat. Please see
Using
Winstat for instructions on logging in. When running Winstat you are essentially
using a
different computer. You may need to redo drive mappings and other customizations
you are
Dreamweaver has a tendency to make too much available at once (one suspects they
wanted to impress people who are evaluating the program with how much it can do).
At long last, let's make a web page. Click File, New. Then choose the Basic page
category and
HTML, then click Create.
General | Templates |
The first thing we'll do is set a title for the page. This is what will show up in
the title bar of
the user's browser while they're looking at the page. Leaving the page title set to
"Untitled
Click on it, and you'll get a new window with a variety of settings. Select the
Title/Encoding
category. In the Title box, type a title for the page--something like "<Your
Name>'s Home
Page." Ignore the other settings for now and click OK.
Page Properties x
Category Title/Encading
Appearance
pin Title: | Russell Dimond's Home Page
Headings
TilefEncodng | Document Type (DTDY: |*HTML 1.0 Transitional |
Tracing Image
Encoding: Western European | Reload
Docurnent Folder:
Let's start with just some text. Type in <Your Name>'s Home Page. As you see the
text
appears on the page just as if you were working in Word. You may be tempted at this
point
to change the appearance of these words--to make them bigger or something. But
before
you reach for the Size menu on the Properties panel, ask yourself why you think
these
don't see the <h1> make sure the cursor is somewhere in the heading of the page).
Move the cursor to a new line and either press CRTL-ALT-i or click Insert, Image.
Then select
uwlogo.gif. You'll immediately be asked to set the Alternate text. Type in
University of
Ok.
Links
There are many ways to turn text into a link, but they all start by selecting the
text. Then you
can:
e Type the name of the web page you want to link to in the Link box of the
Properties
panel
e Drag the small circle to the right of the Link box to the file in the File panel
you want to
link to
e Click Modify, Make Link or press CTRL-l, then select the file you want to link to
When we defined your web site we gave Dreamweaver two locations: one on the web
server, and one in your Windows home directory. When you click File, Save, you will
be
saving the document in your home directory. Before others can see it, you need to
publish it
Observations
General Templates |
Templates for: Site "web Site": Preview:
Site "SSCC ISP" Russell Dimond’s Home Page
Site "SSCC web" FEY
Site "web Site" SCO 5 5! 5
Description:
<No description >
VW Update page when template changes
Help Preferences... Get more content... Create | Cancel
Precaution
3. Give proper path of the image file while using the Error! Filename not
specified.tag.
Practical - 8
Aim
Design web pages and insert audio and video objects in that.
Objectives
It's somehow not that simple to add sound to web pages. There isn’t a flashing
button to add
background music to your current Dreamweaver Web page. You didn’t go through a lot
of
trouble as well as there are no complex codes to study and use.
Here is how to add audio with a controller which allows music to play automatically
when the
page is opened.
Procedure
OO Data sources
Look in: | (£2 Desktop Bo? re
i) My Documents
W My Computer
«J My Network Places
AD Safari
N
| [test html
OK
3.4
§
i
t
2]
&
g
[3]
2
g
5
|
|
<1
§
| |
(<li
Ge
“wim ee 5 [Fe]
HE G3 EE
Parameter: "Value Cancel
autoplay false
controller true Bl
Help
l= —— ——= SE —— it
<head>
<ritle>Untitled Docunsnt</titled
</head>
CORRE SF SAR
<bedy>
als senbediarcaTeureka: vay widths 324 he toh taT32 0 ipluginepagesTheth: 2 / vei
apple. consi
12 fcontrollsra” trusts feabead>
quickriss/dommlosdMiancoplayetfalsa™
Observation
a youtube.com/watch?v=nJ5qeNZD0I8
nios
Sludent Login
NIOS
NIOS Result,
Tock
National <
Institute of
Open Schooling
pee
© suxn
tormeny
ation
fhopedia
Headquarters: Noa
Founded: 1539
Abbreviaton: NOS
Official language: Hina Engiisn
Aim
Objectives
After completion of this practical you will be able to
Software required
e Notepad
Pre-requisite
<!DOCTYPE
>
>
< charset="utf-8">
< name="viewport"” content="width=device-width, initial-scale=1">
>loop</ >
>
var i, number = 10, total = 0;
for (i = 1; i <= number; i++)
total = total + i;
Result
| loop >= | +
«~ => (8 file: rCUser
JS example
Objectives
After completion of this practical you will be able to
Software required
e Notepad.
Pre-requisite
<IDOCTYPE htmL>
<html>
<head>
<titlex</title>
</head>
<body style="text-align: center;">
<h1>Enter Your Name</hl>
<input type="text" id="name'>
<button type="button™ onclick="Entername())®>Submit</button>
<p style="color:green* id="demo?></p>
<script type="text/javascript™>
function Entername() {
{var x= document .getElementById(“name").value;
Woo nD WN
document .getElementById("demo®)-innerHTML=
“Welcome to Geeks for Geeks + X 3
</script>
</body>
</html>
Observation
Result
C iE ][ submit]