SlideShare a Scribd company logo
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>
Web Technology Lab File
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>
Web Technology Lab File
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>
Web Technology Lab File
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>
Web Technology Lab File
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>
Web Technology Lab File
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>
Web Technology Lab File
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>
Web Technology Lab File
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>
Web Technology Lab File
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
Ad

More Related Content

What's hot (20)

Web technology lab manual
Web technology lab manualWeb technology lab manual
Web technology lab manual
neela madheswari
 
Html ppt
Html pptHtml ppt
Html ppt
santosh lamba
 
html-table
html-tablehtml-table
html-table
Dhirendra Chauhan
 
PHP FUNCTIONS
PHP FUNCTIONSPHP FUNCTIONS
PHP FUNCTIONS
Zeeshan Ahmed
 
Html forms
Html formsHtml forms
Html forms
eShikshak
 
javascript objects
javascript objectsjavascript objects
javascript objects
Vijay Kalyan
 
Html table tags
Html table tagsHtml table tags
Html table tags
eShikshak
 
Java Script ppt
Java Script pptJava Script ppt
Java Script ppt
Priya Goyal
 
HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginners
jeroenvdmeer
 
HTML Forms
HTML FormsHTML Forms
HTML Forms
Ravinder Kamboj
 
jQuery
jQueryjQuery
jQuery
Dileep Mishra
 
Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)
AakankshaR
 
Java script
Java scriptJava script
Java script
Abhishek Kesharwani
 
MYSQL - PHP Database Connectivity
MYSQL - PHP Database ConnectivityMYSQL - PHP Database Connectivity
MYSQL - PHP Database Connectivity
V.V.Vanniaperumal College for Women
 
Css Ppt
Css PptCss Ppt
Css Ppt
Hema Prasanth
 
Php and MySQL
Php and MySQLPhp and MySQL
Php and MySQL
Tiji Thomas
 
Bootstrap 5 ppt
Bootstrap 5 pptBootstrap 5 ppt
Bootstrap 5 ppt
Mallikarjuna G D
 
HTML: Tables and Forms
HTML: Tables and FormsHTML: Tables and Forms
HTML: Tables and Forms
BG Java EE Course
 
JavaScript Objects
JavaScript ObjectsJavaScript Objects
JavaScript Objects
Hazem Hagrass
 
Java Server Pages(jsp)
Java Server Pages(jsp)Java Server Pages(jsp)
Java Server Pages(jsp)
Manisha Keim
 

Viewers also liked (9)

Web technology practical list
Web technology practical listWeb technology practical list
Web technology practical list
desaipratu10
 
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 tables examples
Html tables   examplesHtml tables   examples
Html tables examples
Mukesh Tekwani
 
Html viva questions
Html viva questionsHtml viva questions
Html viva questions
Vipul 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 syllabus
NANDINI 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 CSS
BG 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 Techniques
Vitaly Friedman
 
Html graphics
Html graphicsHtml graphics
Html graphics
Mukesh Tekwani
 
Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
Shashank Skills Academy
 
Web technology practical list
Web technology practical listWeb technology practical list
Web technology practical list
desaipratu10
 
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 questions
Vipul 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 syllabus
NANDINI 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 CSS
BG 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 Techniques
Vitaly Friedman
 
Ad

Similar to Web Technology Lab File (20)

Lab final
Lab finalLab final
Lab final
Maddineni Nagabhushanam
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
DipaliJagtap6
 
Html and css
Html and cssHtml and css
Html and css
baabtra.com - No. 1 supplier of quality freshers
 
Unit 2 (it workshop)
Unit 2 (it workshop)Unit 2 (it workshop)
Unit 2 (it workshop)
Dr.Lokesh Gagnani
 
Web technology
Web technologyWeb technology
Web technology
Kandarp Tiwari
 
Emmet cheat-sheet
Emmet cheat-sheetEmmet cheat-sheet
Emmet cheat-sheet
Jean Pierre Portocarrero
 
Web Forms People Don't Hate
Web Forms People Don't HateWeb Forms People Don't Hate
Web Forms People Don't Hate
cliener
 
Web technology
Web technologyWeb technology
Web technology
Kartik Kamboj
 
5.1 html lec 5
5.1 html lec 55.1 html lec 5
5.1 html lec 5
IoT Code Lab
 
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
cliener
 
1cst
1cst1cst
1cst
Griffinder VinHai
 
Web Design HTML for beginners and advanced learners .pptx
Web Design HTML for beginners and advanced learners .pptxWeb Design HTML for beginners and advanced learners .pptx
Web Design HTML for beginners and advanced learners .pptx
mark575496
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
vamsitricks
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
vamsi krishna
 
Section1 HTML (part2) Web technology for b
Section1 HTML (part2) Web technology for bSection1 HTML (part2) Web technology for b
Section1 HTML (part2) Web technology for b
salmamontaser1
 
Lect# 1 html part ii
Lect# 1 html part iiLect# 1 html part ii
Lect# 1 html part ii
MuhammadAbdulSattarC
 
Print this
Print thisPrint this
Print this
himanii313
 
Html tags-chart
Html tags-chartHtml tags-chart
Html tags-chart
Nitra Ntc
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
Taha Malampatti
 
Sessionex1
Sessionex1Sessionex1
Sessionex1
myrajendra
 
Ad

More from Kandarp Tiwari (12)

Artificial Intelligence Lab File
Artificial Intelligence Lab FileArtificial Intelligence Lab File
Artificial Intelligence Lab File
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
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
Kandarp Tiwari
 
Web Technology Front Page
Web Technology Front PageWeb Technology Front Page
Web Technology Front Page
Kandarp Tiwari
 
Compiler design front page
Compiler design front pageCompiler design front page
Compiler design front page
Kandarp Tiwari
 
Computer Networks Front Page
Computer Networks Front PageComputer Networks Front Page
Computer Networks Front Page
Kandarp Tiwari
 
Computer Networks Lab File
Computer Networks Lab FileComputer Networks Lab File
Computer Networks Lab File
Kandarp Tiwari
 
Compiler Design Lab File
Compiler Design Lab FileCompiler Design Lab File
Compiler Design Lab File
Kandarp Tiwari
 
Os lab file c programs
Os lab file c programsOs lab file c programs
Os lab file c programs
Kandarp Tiwari
 
Java Programs Lab File
Java Programs Lab FileJava Programs Lab File
Java Programs Lab File
Kandarp Tiwari
 
DAA Lab File C Programs
DAA Lab File C ProgramsDAA Lab File C Programs
DAA Lab File C Programs
Kandarp Tiwari
 
Computer Graphics Lab File C Programs
Computer Graphics Lab File C ProgramsComputer Graphics Lab File C Programs
Computer Graphics Lab File C Programs
Kandarp Tiwari
 
Artificial Intelligence Lab File
Artificial Intelligence Lab FileArtificial Intelligence Lab File
Artificial Intelligence Lab File
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
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
Kandarp Tiwari
 
Web Technology Front Page
Web Technology Front PageWeb Technology Front Page
Web Technology Front Page
Kandarp Tiwari
 
Compiler design front page
Compiler design front pageCompiler design front page
Compiler design front page
Kandarp Tiwari
 
Computer Networks Front Page
Computer Networks Front PageComputer Networks Front Page
Computer Networks Front Page
Kandarp Tiwari
 
Computer Networks Lab File
Computer Networks Lab FileComputer Networks Lab File
Computer Networks Lab File
Kandarp Tiwari
 
Compiler Design Lab File
Compiler Design Lab FileCompiler Design Lab File
Compiler Design Lab File
Kandarp Tiwari
 
Os lab file c programs
Os lab file c programsOs lab file c programs
Os lab file c programs
Kandarp Tiwari
 
Java Programs Lab File
Java Programs Lab FileJava Programs Lab File
Java Programs Lab File
Kandarp Tiwari
 
DAA Lab File C Programs
DAA Lab File C ProgramsDAA Lab File C Programs
DAA Lab File C Programs
Kandarp Tiwari
 
Computer Graphics Lab File C Programs
Computer Graphics Lab File C ProgramsComputer Graphics Lab File C Programs
Computer Graphics Lab File C Programs
Kandarp Tiwari
 

Recently uploaded (20)

OPTIMIZING DATA INTEROPERABILITY IN AGILE ORGANIZATIONS: INTEGRATING NONAKA’S...
OPTIMIZING DATA INTEROPERABILITY IN AGILE ORGANIZATIONS: INTEGRATING NONAKA’S...OPTIMIZING DATA INTEROPERABILITY IN AGILE ORGANIZATIONS: INTEGRATING NONAKA’S...
OPTIMIZING DATA INTEROPERABILITY IN AGILE ORGANIZATIONS: INTEGRATING NONAKA’S...
ijdmsjournal
 
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
Jimmy Lai
 
acid base ppt and their specific application in food
acid base ppt and their specific application in foodacid base ppt and their specific application in food
acid base ppt and their specific application in food
Fatehatun Noor
 
Unleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptx
Unleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptxUnleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptx
Unleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptx
SanjeetMishra29
 
Design Optimization of Reinforced Concrete Waffle Slab Using Genetic Algorithm
Design Optimization of Reinforced Concrete Waffle Slab Using Genetic AlgorithmDesign Optimization of Reinforced Concrete Waffle Slab Using Genetic Algorithm
Design Optimization of Reinforced Concrete Waffle Slab Using Genetic Algorithm
Journal of Soft Computing in Civil Engineering
 
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFTDeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
Kyohei Ito
 
hypermedia_system_revisit_roy_fielding .
hypermedia_system_revisit_roy_fielding .hypermedia_system_revisit_roy_fielding .
hypermedia_system_revisit_roy_fielding .
NABLAS株式会社
 
Agents chapter of Artificial intelligence
Agents chapter of Artificial intelligenceAgents chapter of Artificial intelligence
Agents chapter of Artificial intelligence
DebdeepMukherjee9
 
IPC-7711D-7721D_ EN 2023 TOC Rework, Modification and Repair of Electronic As...
IPC-7711D-7721D_ EN 2023 TOC Rework, Modification and Repair of Electronic As...IPC-7711D-7721D_ EN 2023 TOC Rework, Modification and Repair of Electronic As...
IPC-7711D-7721D_ EN 2023 TOC Rework, Modification and Repair of Electronic As...
ssuserd9338b
 
Modeling the Influence of Environmental Factors on Concrete Evaporation Rate
Modeling the Influence of Environmental Factors on Concrete Evaporation RateModeling the Influence of Environmental Factors on Concrete Evaporation Rate
Modeling the Influence of Environmental Factors on Concrete Evaporation Rate
Journal of Soft Computing in Civil Engineering
 
Introduction to Additive Manufacturing(3D printing)
Introduction to Additive Manufacturing(3D printing)Introduction to Additive Manufacturing(3D printing)
Introduction to Additive Manufacturing(3D printing)
vijimech408
 
Understand water laser communication using Arduino laser and solar panel
Understand water laser communication using Arduino laser and solar panelUnderstand water laser communication using Arduino laser and solar panel
Understand water laser communication using Arduino laser and solar panel
NaveenBotsa
 
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
PawachMetharattanara
 
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
22PCOAM16 ML Unit 3 Full notes PDF & QB.pdf
Guru Nanak Technical Institutions
 
Environment .................................
Environment .................................Environment .................................
Environment .................................
shadyozq9
 
AI Chatbots & Software Development Teams
AI Chatbots & Software Development TeamsAI Chatbots & Software Development Teams
AI Chatbots & Software Development Teams
Joe Krall
 
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdf
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdfSmart City is the Future EN - 2024 Thailand Modify V1.0.pdf
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdf
PawachMetharattanara
 
UNIT 3 Software Engineering (BCS601) EIOV.pdf
UNIT 3 Software Engineering (BCS601) EIOV.pdfUNIT 3 Software Engineering (BCS601) EIOV.pdf
UNIT 3 Software Engineering (BCS601) EIOV.pdf
sikarwaramit089
 
Lecture - 7 Canals of the topic of the civil engineering
Lecture - 7  Canals of the topic of the civil engineeringLecture - 7  Canals of the topic of the civil engineering
Lecture - 7 Canals of the topic of the civil engineering
MJawadkhan1
 
Machine foundation notes for civil engineering students
Machine foundation notes for civil engineering studentsMachine foundation notes for civil engineering students
Machine foundation notes for civil engineering students
DYPCET
 
OPTIMIZING DATA INTEROPERABILITY IN AGILE ORGANIZATIONS: INTEGRATING NONAKA’S...
OPTIMIZING DATA INTEROPERABILITY IN AGILE ORGANIZATIONS: INTEGRATING NONAKA’S...OPTIMIZING DATA INTEROPERABILITY IN AGILE ORGANIZATIONS: INTEGRATING NONAKA’S...
OPTIMIZING DATA INTEROPERABILITY IN AGILE ORGANIZATIONS: INTEGRATING NONAKA’S...
ijdmsjournal
 
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
[PyCon US 2025] Scaling the Mountain_ A Framework for Tackling Large-Scale Te...
Jimmy Lai
 
acid base ppt and their specific application in food
acid base ppt and their specific application in foodacid base ppt and their specific application in food
acid base ppt and their specific application in food
Fatehatun Noor
 
Unleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptx
Unleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptxUnleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptx
Unleashing the Power of Salesforce Flows &amp_ Slack Integration!.pptx
SanjeetMishra29
 
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFTDeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
DeFAIMint | 🤖Mint to DeFAI. Vibe Trading as NFT
Kyohei Ito
 
hypermedia_system_revisit_roy_fielding .
hypermedia_system_revisit_roy_fielding .hypermedia_system_revisit_roy_fielding .
hypermedia_system_revisit_roy_fielding .
NABLAS株式会社
 
Agents chapter of Artificial intelligence
Agents chapter of Artificial intelligenceAgents chapter of Artificial intelligence
Agents chapter of Artificial intelligence
DebdeepMukherjee9
 
IPC-7711D-7721D_ EN 2023 TOC Rework, Modification and Repair of Electronic As...
IPC-7711D-7721D_ EN 2023 TOC Rework, Modification and Repair of Electronic As...IPC-7711D-7721D_ EN 2023 TOC Rework, Modification and Repair of Electronic As...
IPC-7711D-7721D_ EN 2023 TOC Rework, Modification and Repair of Electronic As...
ssuserd9338b
 
Introduction to Additive Manufacturing(3D printing)
Introduction to Additive Manufacturing(3D printing)Introduction to Additive Manufacturing(3D printing)
Introduction to Additive Manufacturing(3D printing)
vijimech408
 
Understand water laser communication using Arduino laser and solar panel
Understand water laser communication using Arduino laser and solar panelUnderstand water laser communication using Arduino laser and solar panel
Understand water laser communication using Arduino laser and solar panel
NaveenBotsa
 
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
01.คุณลักษณะเฉพาะของอุปกรณ์_pagenumber.pdf
PawachMetharattanara
 
Environment .................................
Environment .................................Environment .................................
Environment .................................
shadyozq9
 
AI Chatbots & Software Development Teams
AI Chatbots & Software Development TeamsAI Chatbots & Software Development Teams
AI Chatbots & Software Development Teams
Joe Krall
 
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdf
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdfSmart City is the Future EN - 2024 Thailand Modify V1.0.pdf
Smart City is the Future EN - 2024 Thailand Modify V1.0.pdf
PawachMetharattanara
 
UNIT 3 Software Engineering (BCS601) EIOV.pdf
UNIT 3 Software Engineering (BCS601) EIOV.pdfUNIT 3 Software Engineering (BCS601) EIOV.pdf
UNIT 3 Software Engineering (BCS601) EIOV.pdf
sikarwaramit089
 
Lecture - 7 Canals of the topic of the civil engineering
Lecture - 7  Canals of the topic of the civil engineeringLecture - 7  Canals of the topic of the civil engineering
Lecture - 7 Canals of the topic of the civil engineering
MJawadkhan1
 
Machine foundation notes for civil engineering students
Machine foundation notes for civil engineering studentsMachine foundation notes for civil engineering students
Machine foundation notes for civil engineering students
DYPCET
 

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>
  • 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>
  • 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>
  • 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>
  • 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>
  • 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>
  • 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>
  • 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>
  • 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>