SlideShare a Scribd company logo
1 of 19
Program 1
Create a table to implement with rowspan and columnspan.
<HTML>
<BODY>
<Table border="4" bordercolor="Black" bgcolor="lavender" width="45%"
align="center">
<tr>
<TH align="center" rowspan="2">Roll No.</th>
<TH align="center" rowspan="2">Name</th>
<TH align="center" colspan="2">Marks</th>
<TH align="center" rowspan="2">Date of Birth</th>
</tr>
<tr>
<th>Max. Marks</th>
<th>Obtained Marks</th>
</tr>
<tr>
<Td align="center" rowspan="2">1101</td>
<Td align="center" rowspan="2">K</td>
<td>500</td>
<td>431</td>
<Td align="center" rowspan="2">22-Mar-1995</td>
</tr>
<tr>
<tr>
<Td align="center" rowspan="2">1102</td>
<Td align="center" rowspan="2">A</td>
<td>500</td>
<td>323</td>
<Td align="center" rowspan="2">23-Mar-1996</td>
</tr>
</tr>
<tr>
<tr>
<Td align="center" rowspan="2">1103</td>
<Td align="center" rowspan="2">N</td>
<td>500</td>
<td>398</td>
<Td align="center" rowspan="2">21-Nov-1996</td>
</tr>
</tr>
</table>
</body>
</html>
Program 2
Implement all types of list.
<HTML>
<HEAD>
<TITLE>Lists</TITLE>
</head>
<body>
<H2 align="center"><U>Lists in HTML</U></h2>
<b>
Three Types Of Lists:-
<ul>
<LI>Unordered List
<LI>Ordered list
<LI>Definition List
</ul>
<H3 align="center"><U>Unordered List</U></H3>
The Unordered List elements enables to include an unordered list in the webpage.
<br>
There Are Three Types Of Unordered List:-
<UL>
<li type="disc">Disc
<li type="square">Square
<li type="Circle">Circle
</UL>
<H3 align="center"><U>Ordered List</U></H3>
The Ordered List element enables to include an ordered list in a web page.
<br>This includes:-
<br><br>
(1) Ordered List in arabic numbers like 1,2,3,4 and so on
<OL>
<LI>One
<LI>Two
</Ol>
(I) Ordered List in Uppercase Roman numbers like I,II,III,IV and so on
<OL type="I" Start="3">
<LI>Three
<LI>Four
</OL>
(I) Ordered List in lowercase Roman numbers like i,ii,iii,iv and so on
<OL type="i" Start="5">
<LI>Five
<LI>Six
</OL>
(A) Ordered List in Uppercase Alphabetical Letters A,B,C,D and so on
<OL type="A">
<LI>Apple
<LI>Baloon
</OL>
Ordered List in lowercase Alphabetical Letters a,b,c,d and so on
<OL type="a" Start="3">
<LI>Cat
<LI>Dog
</OL>
<H3 align="center"><U>Definition List</U></H3>
<DL>
<DT><B>Definition Term :</B>
<DD>This Defines a term in The Definition List
<DT><B>Definition Description :</B>
<DD>This Defines the definiton in the definition list
</DL>
</b>
</body>
</html>
Program 3
Create a college registration form.
<html>
<head><title>College Registration Form</title>
</head>
<body>
<h1 align="center"><u><i>Registration Form</i></u></h1>
<br>
<form action="" method="post" enctype="multipart/form-data">
<div align="right">
<input type="image" height="140" width="130" alt="Upload Your Image"
align="center">
</div>
</form>
<form tag="Create Logon">
<div align="center">
<br>
</b>
Name
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;&nbsp;&nbsp;&nbsp;*:<input type="username" name="username" /><br><br>
Father's Name&nbsp;&nbsp;*:<input type="username" name="username"
/><br><br>
Mother's Name *:<input type="username" name="username" /><br><br>
Date of Birth &nbsp;&nbsp;&nbsp;&nbsp;*:<input type="date" name="dob"
/><br><br>
Address
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;*:<input type="address" name="add" /><br><br>
Post Code &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*:<input
type="postcode" name="ptc" /><br><br>
Email
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;&nbsp;&nbsp;&nbsp;&nbsp;*:<input type="email" name="email" /><br><br>
Telephone &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*:<input
type="tel" name="telephone" /><br><br>
<input type="submit" value="Submit" /><br>
</div>
</b>
</form>
<p>Note: Please make sure your details are correct before submitting form and that all
fields marked with * are completed!.</p>
</body>
</html>
Program 4
Create 4 frames in a page & display 4 images in those frames.
<HTML>
<Head>
<Title>Framed Images</Title>
<Frameset rows="25%,75%">
<Frame src="IEC 1.jpg" Scrolling="Auto">
<Frameset cols="100%,100%">
<Frame src="IEC 2.jpg" Scrolling="Auto">
<Frameset rows="100%,100%">
<Frame src="IEC 3.jpg" Scrolling="Auto">
<Frameset cols="100%,">
<Frame src="IEC 4.jpg" Scrolling="Auto">
</Frameset>
</Frameset>
</Frameset>
</Frameset>
</head>
</HTML>
Program 5
Create login page with validation.
<html>
<head>
<title>Form Login Validation
</title>
</head>
<body>
<h2>Login</h2>
<form method="post">
<label for="username">
Username:
<input type="text" name="Username" placeholder="Username must contain 8 to 20
characters"
pattern="^[a-zA-Z][a-zA-Z0-9-_.]{7,19}$" required="REQUIRED" />
</label>
<label for="password">
Password:
<input type="password" name="password" id="password" placeholder="Password
must contain 1 uppercase,
lowercase and number and more than 8 characters"
pattern="(?=^.{8,}$)((?=.*d)|(?=.*W+))(?![.n])(?=.*[A-Z])(?=.*[a-z]).*$"
required="required" />
</label>
<br><br>
<Button type="submit">Sign in</button>
<br>
<br>
<sup>*</sup>Username must contain 8 to 20 characters
<br>
<sup>*</sup>Password must contain more than 8 characters, 1 uppercase, lowercase
and number
</form>
</body>
</html>
Program 6
Implement and load image in an html page.
<html>
<body>
<form action="" method="post" enctype="multipart/form-data">
Select image to upload:
<div class="info">
<input type="file" id="files" />
<output id="list"></output>
<script>
function handleFileSelect(evt)
{
var files = evt.target.files;
var f = files[0];
var reader = new FileReader();
reader.onload = (function(theFile)
{
return function(e)
{
document.getElementById('list').innerHTML = ['<img src="', e.target.result,'" title="',
theFile.name, '" width="200" />'].join('');
};
})(f);
reader.readAsDataURL(f);
}
document.getElementById('files').addEventListener('change', handleFileSelect, false);
</script>
</div>
<input type="submit" value="Upload Image" name="submit">
</form>
</body>
</html>
Program 7
Implement onload event in an html page.
<HTML>
<HEAD>
<Title>Onload Event</Title>
<script type="text/javascript">
function message()
{
alert("This alert box is called with onload event");
}
</script>
</head>
<body onload=message()>
<script type="text/javascript">
document.write("This message is written by JAVASCRIPT");
</script>
</body>
</HTML>
Program 8
Insert a node & attribute in html page to DOM.
<html>
<head>
<style>.democlass{color:red;}</style>
</head>
<body>
<ul id="myList">
<li>Coffee</li>
<li>Tea</li>
</ul>
<p>Click the button to insert an item to the list.</p>
<button onclick="myFunction()">Click</button>
<script>
function myFunction() {
document.getElementsByTagName("LI")[0].setAttribute("class", "democlass");
var newItem = document.createElement("LI");
var textnode = document.createTextNode("Water");
newItem.appendChild(textnode);
var list = document.getElementById("myList");
list.insertBefore(newItem, list.childNodes[0]);
}
</script>
</body>
</html>
Program 9
Implement a JAVASCRIPT to file with regular expression.
<html>
<head><title>Javascript With Regular Expressions</title></head>
<body>
<p>Replace "One" with "All" in the paragraph below:</p>
<button onclick="myFunction()">Click</button>
<p id="demo">Pick One Book!</p>
<script>
function myFunction() {
var str = document.getElementById("demo").innerHTML;
var txt = str.replace(/One/i,"All");
document.getElementById("demo").innerHTML = txt;
}
</script>
</body>
</html>
Before Click:-
After Click:

More Related Content

Viewers also liked (20)

Liselerde tanıtım sunumu
Liselerde tanıtım sunumuLiselerde tanıtım sunumu
Liselerde tanıtım sunumu
 
İleti̇şi̇m
İleti̇şi̇mİleti̇şi̇m
İleti̇şi̇m
 
E strategy ausgabe4-01-10-10-leseprobe
E strategy ausgabe4-01-10-10-leseprobeE strategy ausgabe4-01-10-10-leseprobe
E strategy ausgabe4-01-10-10-leseprobe
 
Ciurezu Iulia Cristina
Ciurezu Iulia CristinaCiurezu Iulia Cristina
Ciurezu Iulia Cristina
 
Fondos De Acciones
Fondos De AccionesFondos De Acciones
Fondos De Acciones
 
45+fotogr
45+fotogr45+fotogr
45+fotogr
 
2012 12 12_adam_v_final
2012 12 12_adam_v_final2012 12 12_adam_v_final
2012 12 12_adam_v_final
 
Vitali hakko
Vitali hakkoVitali hakko
Vitali hakko
 
He thong tai khoan
He thong tai khoanHe thong tai khoan
He thong tai khoan
 
Html 2
Html 2Html 2
Html 2
 
Decel dovsan balasi
Decel dovsan balasiDecel dovsan balasi
Decel dovsan balasi
 
iPatientCare Inroduction Presentation
iPatientCare Inroduction PresentationiPatientCare Inroduction Presentation
iPatientCare Inroduction Presentation
 
Acessibilidade na Web - Senac 2013
Acessibilidade na Web - Senac 2013Acessibilidade na Web - Senac 2013
Acessibilidade na Web - Senac 2013
 
The World’s Wackiest Franchises
The World’s Wackiest FranchisesThe World’s Wackiest Franchises
The World’s Wackiest Franchises
 
Thai52
Thai52Thai52
Thai52
 
Linked Open Data Pilotprojekt Österreich - LOD Pilot AT
Linked Open Data Pilotprojekt Österreich - LOD Pilot ATLinked Open Data Pilotprojekt Österreich - LOD Pilot AT
Linked Open Data Pilotprojekt Österreich - LOD Pilot AT
 
Pelatihan haki
Pelatihan hakiPelatihan haki
Pelatihan haki
 
çIzgi film
çIzgi filmçIzgi film
çIzgi film
 
1.geoteknik tambang 1
1.geoteknik tambang 11.geoteknik tambang 1
1.geoteknik tambang 1
 
Seo basics
Seo basicsSeo basics
Seo basics
 

Similar to Web technology

Similar to Web technology (20)

Print this
Print thisPrint this
Print this
 
Caracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmCaracteristicas Basicas De Htlm
Caracteristicas Basicas De Htlm
 
Practical file(XHTML)web designing
Practical file(XHTML)web designingPractical file(XHTML)web designing
Practical file(XHTML)web designing
 
Ilmu sosial dasar - Pembuatan CV - HTML
Ilmu sosial dasar - Pembuatan CV  - HTMLIlmu sosial dasar - Pembuatan CV  - HTML
Ilmu sosial dasar - Pembuatan CV - HTML
 
INTRODUCTION TO HTML & CSS .pptx
INTRODUCTION TO HTML & CSS .pptxINTRODUCTION TO HTML & CSS .pptx
INTRODUCTION TO HTML & CSS .pptx
 
Html server control - ASP. NET with c#
Html server control - ASP. NET with c#Html server control - ASP. NET with c#
Html server control - ASP. NET with c#
 
Unit 2 (it workshop)
Unit 2 (it workshop)Unit 2 (it workshop)
Unit 2 (it workshop)
 
計算機概論20161205
計算機概論20161205計算機概論20161205
計算機概論20161205
 
1cst
1cst1cst
1cst
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
Lect# 1 html part ii
Lect# 1 html part iiLect# 1 html part ii
Lect# 1 html part ii
 
Html Hands On
Html Hands OnHtml Hands On
Html Hands On
 
Vaadin Components @ Angular U
Vaadin Components @ Angular UVaadin Components @ Angular U
Vaadin Components @ Angular U
 
HTML_TABLES,FORMS,FRAME markup lang.pptx
HTML_TABLES,FORMS,FRAME markup lang.pptxHTML_TABLES,FORMS,FRAME markup lang.pptx
HTML_TABLES,FORMS,FRAME markup lang.pptx
 
TYBSC prac soln
TYBSC prac solnTYBSC prac soln
TYBSC prac soln
 
Html file
Html fileHtml file
Html file
 
Html and css
Html and cssHtml and css
Html and css
 
Keynote to 2011 SportMedBC AGM
Keynote to 2011 SportMedBC AGMKeynote to 2011 SportMedBC AGM
Keynote to 2011 SportMedBC AGM
 
Introduction to Bootstrap
Introduction to BootstrapIntroduction to Bootstrap
Introduction to Bootstrap
 
Bca sem 6 php practicals 1to12
Bca sem 6 php practicals 1to12Bca sem 6 php practicals 1to12
Bca sem 6 php practicals 1to12
 

Recently uploaded

ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case StudySophia Viganò
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Roomdivyansh0kumar0
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)jennyeacort
 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentationamedia6
 
shot list for my tv series two steps back
shot list for my tv series two steps backshot list for my tv series two steps back
shot list for my tv series two steps back17lcow074
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricksabhishekparmar618
 
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightCheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightDelhi Call girls
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVAAnastasiya Kudinova
 
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...Suhani Kapoor
 
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅ Vashi Call Service Available Nea...
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅  Vashi Call Service Available Nea...Kurla Call Girls Pooja Nehwal📞 9892124323 ✅  Vashi Call Service Available Nea...
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅ Vashi Call Service Available Nea...Pooja Nehwal
 
如何办理(UVa毕业证书)弗吉尼亚大学毕业证毕业证(文凭)成绩单原版一比一定制
如何办理(UVa毕业证书)弗吉尼亚大学毕业证毕业证(文凭)成绩单原版一比一定制如何办理(UVa毕业证书)弗吉尼亚大学毕业证毕业证(文凭)成绩单原版一比一定制
如何办理(UVa毕业证书)弗吉尼亚大学毕业证毕业证(文凭)成绩单原版一比一定制didi bibo
 
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`dajasot375
 
WAEC Carpentry and Joinery Past Questions
WAEC Carpentry and Joinery Past QuestionsWAEC Carpentry and Joinery Past Questions
WAEC Carpentry and Joinery Past QuestionsCharles Obaleagbon
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...Call Girls in Nagpur High Profile
 
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...ankitnayak356677
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130Suhani Kapoor
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryWilliamVickery6
 

Recently uploaded (20)

ARt app | UX Case Study
ARt app | UX Case StudyARt app | UX Case Study
ARt app | UX Case Study
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
 
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
Call Us ✡️97111⇛47426⇛Call In girls Vasant Vihar༒(Delhi)
 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentation
 
shot list for my tv series two steps back
shot list for my tv series two steps backshot list for my tv series two steps back
shot list for my tv series two steps back
 
Cosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable BricksCosumer Willingness to Pay for Sustainable Bricks
Cosumer Willingness to Pay for Sustainable Bricks
 
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Okhla Delhi 💯Call Us 🔝8264348440🔝
 
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
 
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightCheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
 
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
PORTAFOLIO   2024_  ANASTASIYA  KUDINOVAPORTAFOLIO   2024_  ANASTASIYA  KUDINOVA
PORTAFOLIO 2024_ ANASTASIYA KUDINOVA
 
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
 
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
 
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅ Vashi Call Service Available Nea...
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅  Vashi Call Service Available Nea...Kurla Call Girls Pooja Nehwal📞 9892124323 ✅  Vashi Call Service Available Nea...
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅ Vashi Call Service Available Nea...
 
如何办理(UVa毕业证书)弗吉尼亚大学毕业证毕业证(文凭)成绩单原版一比一定制
如何办理(UVa毕业证书)弗吉尼亚大学毕业证毕业证(文凭)成绩单原版一比一定制如何办理(UVa毕业证书)弗吉尼亚大学毕业证毕业证(文凭)成绩单原版一比一定制
如何办理(UVa毕业证书)弗吉尼亚大学毕业证毕业证(文凭)成绩单原版一比一定制
 
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
Abu Dhabi Call Girls O58993O4O2 Call Girls in Abu Dhabi`
 
WAEC Carpentry and Joinery Past Questions
WAEC Carpentry and Joinery Past QuestionsWAEC Carpentry and Joinery Past Questions
WAEC Carpentry and Joinery Past Questions
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
 
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
Raj Nagar Extension Call Girls 9711199012 WhatsApp No, Delhi Escorts in Raj N...
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William Vickery
 

Web technology

  • 1. Program 1 Create a table to implement with rowspan and columnspan. <HTML> <BODY> <Table border="4" bordercolor="Black" bgcolor="lavender" width="45%" align="center"> <tr> <TH align="center" rowspan="2">Roll No.</th> <TH align="center" rowspan="2">Name</th> <TH align="center" colspan="2">Marks</th> <TH align="center" rowspan="2">Date of Birth</th> </tr> <tr> <th>Max. Marks</th> <th>Obtained Marks</th> </tr> <tr> <Td align="center" rowspan="2">1101</td> <Td align="center" rowspan="2">K</td> <td>500</td> <td>431</td> <Td align="center" rowspan="2">22-Mar-1995</td> </tr> <tr> <tr> <Td align="center" rowspan="2">1102</td> <Td align="center" rowspan="2">A</td> <td>500</td> <td>323</td> <Td align="center" rowspan="2">23-Mar-1996</td> </tr> </tr> <tr> <tr> <Td align="center" rowspan="2">1103</td> <Td align="center" rowspan="2">N</td> <td>500</td> <td>398</td> <Td align="center" rowspan="2">21-Nov-1996</td> </tr> </tr> </table> </body> </html>
  • 2.
  • 3. Program 2 Implement all types of list. <HTML> <HEAD> <TITLE>Lists</TITLE> </head> <body> <H2 align="center"><U>Lists in HTML</U></h2> <b> Three Types Of Lists:- <ul> <LI>Unordered List <LI>Ordered list <LI>Definition List </ul> <H3 align="center"><U>Unordered List</U></H3> The Unordered List elements enables to include an unordered list in the webpage. <br> There Are Three Types Of Unordered List:- <UL> <li type="disc">Disc <li type="square">Square <li type="Circle">Circle </UL> <H3 align="center"><U>Ordered List</U></H3> The Ordered List element enables to include an ordered list in a web page. <br>This includes:- <br><br> (1) Ordered List in arabic numbers like 1,2,3,4 and so on <OL> <LI>One <LI>Two </Ol> (I) Ordered List in Uppercase Roman numbers like I,II,III,IV and so on <OL type="I" Start="3"> <LI>Three <LI>Four </OL> (I) Ordered List in lowercase Roman numbers like i,ii,iii,iv and so on <OL type="i" Start="5"> <LI>Five <LI>Six </OL>
  • 4. (A) Ordered List in Uppercase Alphabetical Letters A,B,C,D and so on <OL type="A"> <LI>Apple <LI>Baloon </OL> Ordered List in lowercase Alphabetical Letters a,b,c,d and so on <OL type="a" Start="3"> <LI>Cat <LI>Dog </OL> <H3 align="center"><U>Definition List</U></H3> <DL> <DT><B>Definition Term :</B> <DD>This Defines a term in The Definition List <DT><B>Definition Description :</B> <DD>This Defines the definiton in the definition list </DL> </b> </body> </html>
  • 5.
  • 6. Program 3 Create a college registration form. <html> <head><title>College Registration Form</title> </head> <body> <h1 align="center"><u><i>Registration Form</i></u></h1> <br> <form action="" method="post" enctype="multipart/form-data"> <div align="right"> <input type="image" height="140" width="130" alt="Upload Your Image" align="center"> </div> </form> <form tag="Create Logon"> <div align="center"> <br> </b> Name &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;*:<input type="username" name="username" /><br><br> Father's Name&nbsp;&nbsp;*:<input type="username" name="username" /><br><br> Mother's Name *:<input type="username" name="username" /><br><br> Date of Birth &nbsp;&nbsp;&nbsp;&nbsp;*:<input type="date" name="dob" /><br><br> Address &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;*:<input type="address" name="add" /><br><br> Post Code &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*:<input type="postcode" name="ptc" /><br><br> Email &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;*:<input type="email" name="email" /><br><br> Telephone &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*:<input type="tel" name="telephone" /><br><br> <input type="submit" value="Submit" /><br> </div> </b> </form> <p>Note: Please make sure your details are correct before submitting form and that all fields marked with * are completed!.</p> </body> </html>
  • 7.
  • 8. Program 4 Create 4 frames in a page & display 4 images in those frames. <HTML> <Head> <Title>Framed Images</Title> <Frameset rows="25%,75%"> <Frame src="IEC 1.jpg" Scrolling="Auto"> <Frameset cols="100%,100%"> <Frame src="IEC 2.jpg" Scrolling="Auto"> <Frameset rows="100%,100%"> <Frame src="IEC 3.jpg" Scrolling="Auto"> <Frameset cols="100%,"> <Frame src="IEC 4.jpg" Scrolling="Auto"> </Frameset> </Frameset> </Frameset> </Frameset> </head> </HTML>
  • 9.
  • 10. Program 5 Create login page with validation. <html> <head> <title>Form Login Validation </title> </head> <body> <h2>Login</h2> <form method="post"> <label for="username"> Username: <input type="text" name="Username" placeholder="Username must contain 8 to 20 characters" pattern="^[a-zA-Z][a-zA-Z0-9-_.]{7,19}$" required="REQUIRED" /> </label> <label for="password"> Password: <input type="password" name="password" id="password" placeholder="Password must contain 1 uppercase, lowercase and number and more than 8 characters" pattern="(?=^.{8,}$)((?=.*d)|(?=.*W+))(?![.n])(?=.*[A-Z])(?=.*[a-z]).*$" required="required" /> </label> <br><br> <Button type="submit">Sign in</button> <br> <br> <sup>*</sup>Username must contain 8 to 20 characters <br> <sup>*</sup>Password must contain more than 8 characters, 1 uppercase, lowercase and number </form> </body> </html>
  • 11.
  • 12. Program 6 Implement and load image in an html page. <html> <body> <form action="" method="post" enctype="multipart/form-data"> Select image to upload: <div class="info"> <input type="file" id="files" /> <output id="list"></output> <script> function handleFileSelect(evt) { var files = evt.target.files; var f = files[0]; var reader = new FileReader(); reader.onload = (function(theFile) { return function(e) { document.getElementById('list').innerHTML = ['<img src="', e.target.result,'" title="', theFile.name, '" width="200" />'].join(''); }; })(f); reader.readAsDataURL(f); } document.getElementById('files').addEventListener('change', handleFileSelect, false); </script> </div> <input type="submit" value="Upload Image" name="submit"> </form> </body> </html>
  • 13.
  • 14. Program 7 Implement onload event in an html page. <HTML> <HEAD> <Title>Onload Event</Title> <script type="text/javascript"> function message() { alert("This alert box is called with onload event"); } </script> </head> <body onload=message()> <script type="text/javascript"> document.write("This message is written by JAVASCRIPT"); </script> </body> </HTML>
  • 15.
  • 16. Program 8 Insert a node & attribute in html page to DOM. <html> <head> <style>.democlass{color:red;}</style> </head> <body> <ul id="myList"> <li>Coffee</li> <li>Tea</li> </ul> <p>Click the button to insert an item to the list.</p> <button onclick="myFunction()">Click</button> <script> function myFunction() { document.getElementsByTagName("LI")[0].setAttribute("class", "democlass"); var newItem = document.createElement("LI"); var textnode = document.createTextNode("Water"); newItem.appendChild(textnode); var list = document.getElementById("myList"); list.insertBefore(newItem, list.childNodes[0]); } </script> </body> </html>
  • 17.
  • 18. Program 9 Implement a JAVASCRIPT to file with regular expression. <html> <head><title>Javascript With Regular Expressions</title></head> <body> <p>Replace "One" with "All" in the paragraph below:</p> <button onclick="myFunction()">Click</button> <p id="demo">Pick One Book!</p> <script> function myFunction() { var str = document.getElementById("demo").innerHTML; var txt = str.replace(/One/i,"All"); document.getElementById("demo").innerHTML = txt; } </script> </body> </html>