SlideShare a Scribd company logo
1 of 21
Index
S. No. Name Of Program Remarks/
Sign.
1. Create a table to implement with rowspan and
columnspan.
2. Implement all types of list.
3. Create a college registration form.
4. Create 4 frames in a page & display 4 images in those
frames.
5. Create login page with validation.
6. Implement and load image in an html page.
7. Implement onload event in an html page.
8. Insert a node & attribute in html page to DOM.
9. Implement a JAVASCRIPT to file with regular
expression.
10.
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>Balloon
</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 definition 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;&nbsp;&n
bsp;&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;&nbsp;*:<i
nput 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;&nbsp;&n
bsp;&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:
Web Technology Lab File

More Related Content

What's hot (20)

Html notes
Html notesHtml notes
Html notes
 
Bca sem 6 php practicals 1to12
Bca sem 6 php practicals 1to12Bca sem 6 php practicals 1to12
Bca sem 6 php practicals 1to12
 
Html project
Html projectHtml project
Html project
 
Html
HtmlHtml
Html
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
html-table
html-tablehtml-table
html-table
 
HTML
HTMLHTML
HTML
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html list
Html listHtml list
Html list
 
Html coding
Html codingHtml coding
Html coding
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScript
 
Html forms
Html formsHtml forms
Html forms
 
Xml
XmlXml
Xml
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
 
Html
HtmlHtml
Html
 
Get method and post method
Get method and post methodGet method and post method
Get method and post method
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginners
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
 

Viewers also liked

Web technology practical list
Web technology practical listWeb technology practical list
Web technology practical listdesaipratu10
 
Practical file on web technology(html)
Practical file on web technology(html)Practical file on web technology(html)
Practical file on web technology(html)RAJWANT KAUR
 
Html viva questions
Html viva questionsHtml viva questions
Html viva questionsVipul Naik
 
Web engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabusWeb engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabusNANDINI SHARMA
 
Creating Web Sites with HTML and CSS
Creating Web Sites with HTML and CSSCreating Web Sites with HTML and CSS
Creating Web Sites with HTML and CSSBG Java EE Course
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesVitaly Friedman
 

Viewers also liked (10)

Web technology practical list
Web technology practical listWeb technology practical list
Web technology practical list
 
Practical file on web technology(html)
Practical file on web technology(html)Practical file on web technology(html)
Practical file on web technology(html)
 
Html tables examples
Html tables   examplesHtml tables   examples
Html tables examples
 
Practical File Itm
Practical File ItmPractical File Itm
Practical File Itm
 
Html viva questions
Html viva questionsHtml viva questions
Html viva questions
 
Web engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabusWeb engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabus
 
Creating Web Sites with HTML and CSS
Creating Web Sites with HTML and CSSCreating Web Sites with HTML and CSS
Creating Web Sites with HTML and CSS
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and Techniques
 
Html graphics
Html graphicsHtml graphics
Html graphics
 
Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
 

Similar to Web Technology Lab File (20)

Lab final
Lab finalLab final
Lab final
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
Html and css
Html and cssHtml and css
Html and css
 
Unit 2 (it workshop)
Unit 2 (it workshop)Unit 2 (it workshop)
Unit 2 (it workshop)
 
Web technology
Web technologyWeb technology
Web technology
 
Emmet cheat-sheet
Emmet cheat-sheetEmmet cheat-sheet
Emmet cheat-sheet
 
Web Forms People Don't Hate
Web Forms People Don't HateWeb Forms People Don't Hate
Web Forms People Don't Hate
 
Web technology
Web technologyWeb technology
Web technology
 
5.1 html lec 5
5.1 html lec 55.1 html lec 5
5.1 html lec 5
 
Building & Breaking Web Forms with Quaid-JS
Building & Breaking Web Forms with Quaid-JSBuilding & Breaking Web Forms with Quaid-JS
Building & Breaking Web Forms with Quaid-JS
 
1cst
1cst1cst
1cst
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
 
Lect# 1 html part ii
Lect# 1 html part iiLect# 1 html part ii
Lect# 1 html part ii
 
Print this
Print thisPrint this
Print this
 
Html tags-chart
Html tags-chartHtml tags-chart
Html tags-chart
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
Sessionex1
Sessionex1Sessionex1
Sessionex1
 
Begin scripting
Begin scriptingBegin scripting
Begin scripting
 
Unit 11
Unit 11Unit 11
Unit 11
 

More from Kandarp Tiwari

Artificial Intelligence Lab File
Artificial Intelligence Lab FileArtificial Intelligence Lab File
Artificial Intelligence Lab FileKandarp Tiwari
 
Speed Detecting Camera by Kandarp Tiwari
Speed Detecting Camera by Kandarp TiwariSpeed Detecting Camera by Kandarp Tiwari
Speed Detecting Camera by Kandarp TiwariKandarp Tiwari
 
Speed Detecting Camera by Kandarp Tiwari
Speed Detecting Camera by Kandarp TiwariSpeed Detecting Camera by Kandarp Tiwari
Speed Detecting Camera by Kandarp TiwariKandarp Tiwari
 
Web Technology Front Page
Web Technology Front PageWeb Technology Front Page
Web Technology Front PageKandarp Tiwari
 
Compiler design front page
Compiler design front pageCompiler design front page
Compiler design front pageKandarp Tiwari
 
Computer Networks Front Page
Computer Networks Front PageComputer Networks Front Page
Computer Networks Front PageKandarp Tiwari
 
Computer Networks Lab File
Computer Networks Lab FileComputer Networks Lab File
Computer Networks Lab FileKandarp Tiwari
 
Compiler Design Lab File
Compiler Design Lab FileCompiler Design Lab File
Compiler Design Lab FileKandarp Tiwari
 
Os lab file c programs
Os lab file c programsOs lab file c programs
Os lab file c programsKandarp Tiwari
 
Java Programs Lab File
Java Programs Lab FileJava Programs Lab File
Java Programs Lab FileKandarp Tiwari
 
DAA Lab File C Programs
DAA Lab File C ProgramsDAA Lab File C Programs
DAA Lab File C ProgramsKandarp Tiwari
 
Computer Graphics Lab File C Programs
Computer Graphics Lab File C ProgramsComputer Graphics Lab File C Programs
Computer Graphics Lab File C ProgramsKandarp Tiwari
 

More from Kandarp Tiwari (12)

Artificial Intelligence Lab File
Artificial Intelligence Lab FileArtificial Intelligence Lab File
Artificial Intelligence Lab File
 
Speed Detecting Camera by Kandarp Tiwari
Speed Detecting Camera by Kandarp TiwariSpeed Detecting Camera by Kandarp Tiwari
Speed Detecting Camera by Kandarp Tiwari
 
Speed Detecting Camera by Kandarp Tiwari
Speed Detecting Camera by Kandarp TiwariSpeed Detecting Camera by Kandarp Tiwari
Speed Detecting Camera by Kandarp Tiwari
 
Web Technology Front Page
Web Technology Front PageWeb Technology Front Page
Web Technology Front Page
 
Compiler design front page
Compiler design front pageCompiler design front page
Compiler design front page
 
Computer Networks Front Page
Computer Networks Front PageComputer Networks Front Page
Computer Networks Front Page
 
Computer Networks Lab File
Computer Networks Lab FileComputer Networks Lab File
Computer Networks Lab File
 
Compiler Design Lab File
Compiler Design Lab FileCompiler Design Lab File
Compiler Design Lab File
 
Os lab file c programs
Os lab file c programsOs lab file c programs
Os lab file c programs
 
Java Programs Lab File
Java Programs Lab FileJava Programs Lab File
Java Programs Lab File
 
DAA Lab File C Programs
DAA Lab File C ProgramsDAA Lab File C Programs
DAA Lab File C Programs
 
Computer Graphics Lab File C Programs
Computer Graphics Lab File C ProgramsComputer Graphics Lab File C Programs
Computer Graphics Lab File C Programs
 

Recently uploaded

Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stageAbc194748
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 

Recently uploaded (20)

Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 

Web Technology Lab File

  • 1. Index S. No. Name Of Program Remarks/ Sign. 1. Create a table to implement with rowspan and columnspan. 2. Implement all types of list. 3. Create a college registration form. 4. Create 4 frames in a page & display 4 images in those frames. 5. Create login page with validation. 6. Implement and load image in an html page. 7. Implement onload event in an html page. 8. Insert a node & attribute in html page to DOM. 9. Implement a JAVASCRIPT to file with regular expression. 10.
  • 2. 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>
  • 3.
  • 4. 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>
  • 5. (A) Ordered List in Uppercase Alphabetical Letters A, B, C, D and so on <OL type="A"> <LI>Apple <LI>Balloon </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 definition in the definition list </DL> </b> </body> </html>
  • 6.
  • 7. 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;&nbsp;&n bsp;&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;&nbsp;*:<i nput 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;&nbsp;&n bsp;&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>
  • 8.
  • 9. 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>
  • 10.
  • 11. 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>
  • 12.
  • 13. 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>
  • 14.
  • 15. 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>
  • 16.
  • 17. 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>
  • 18.
  • 19. 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>