Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Keshabkjha committed Aug 16, 2024
1 parent 017f295 commit 0335046
Show file tree
Hide file tree
Showing 11 changed files with 109 additions and 112 deletions.
2 changes: 1 addition & 1 deletion Programs/Program1.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<title>Program1</title>
</head>
<body>

Expand Down
10 changes: 10 additions & 0 deletions Programs/Program26.dtd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!ELEMENT studentProfile (personalInformation,skills,hobbies)>
<!ELEMENT personalInformation (name,age,degree,university)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT age (#PCDATA)>
<!ELEMENT degree (#PCDATA)>
<!ELEMENT university (#PCDATA)>
<!ELEMENT skills (skill+)>
<!ELEMENT skill (#PCDATA)>
<!ELEMENT hobbies (hobby+)>
<!ELEMENT hobby (#PCDATA)>
4 changes: 2 additions & 2 deletions Programs/Program26.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Design a XML document that describe the well-formed XML document -->
<studentProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="Program26.xsd">
<!DOCTYPE studentProfile SYSTEM "Program26.dtd">
<studentProfile >
<personalInformation>
<name>Keshab Kumar</name>
<age>21</age>
Expand Down
33 changes: 0 additions & 33 deletions Programs/Program26.xsd

This file was deleted.

46 changes: 0 additions & 46 deletions Programs/Program27.html

This file was deleted.

28 changes: 1 addition & 27 deletions Programs/Program27.xml
Original file line number Diff line number Diff line change
@@ -1,28 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="cdstylesheet.xsl"?>
<catalog>
<cd>
<title>Empire Burlesque</title>
<artist>Boby Dylan</artist>
<country>USA</country>
<company>Columbia</company>
<price>10.90</price>
<year>1985</year>
</cd>
<cd>
<title>Hide your heart</title>
<artist>Bonnie Tyler</artist>
<country>UK</country>
<company>CBS Records</company>
<price>9.90</price>
<year>1988</year>
</cd>
<cd>
<title>Greatest Hits</title>
<artist>Dolly Parton</artist>
<country>USA</country>
<company>RCA</company>
<price>9090</price>
<year>1982</year>
</cd>
</catalog>
<!-- Design a XML document of CD Catalog through each <CD> element, and displays the values of the <ARTIST> and the <TITLE> elements in an HTML table -->
3 changes: 2 additions & 1 deletion Programs/Program28.xml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Create a XSL document for and taken xml document by you. -->
3 changes: 2 additions & 1 deletion Programs/Program29.xml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Create a XSLT document for and taken xml document by you with all steps-->
2 changes: 1 addition & 1 deletion Programs/Program3.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Keshab Kumar - Profile</title>
<title>Keshab Kumar CV</title>
<style>
body {
background-color: #f0f8ff; /* Light blue background */
Expand Down
90 changes: 90 additions & 0 deletions Programs/reg_form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration Form</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f4f4f4;
}
.container {
max-width: 600px;
margin: 0 auto;
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h2 {
text-align: center;
}
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="date"] {
width: 100%;
padding: 8px;
box-sizing: border-box;
border: 1px solid #ddd;
border-radius: 4px;
}
.form-group input[type="submit"] {
background-color: #5cb85c;
color: white;
border: none;
padding: 10px 15px;
border-radius: 4px;
cursor: pointer;
}
.form-group input[type="submit"]:hover {
background-color: #4cae4c;
}
</style>
</head>
<body>
<div class="container">
<h2>Registration Form</h2>
<form action="/submit" method="post">
<div class="form-group">
<label for="firstName">First Name:</label>
<input type="text" id="firstName" name="firstName" required>
</div>
<div class="form-group">
<label for="lastName">Last Name:</label>
<input type="text" id="lastName" name="lastName" required>
</div>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
</div>
<div class="form-group">
<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone">
</div>
<div class="form-group">
<label for="dob">Date of Birth:</label>
<input type="date" id="dob" name="dob">
</div>
<div class="form-group">
<input type="submit" value="Register">
</div>
</form>
</div>
</body>
</html>
Binary file added Projects/WT Projet.xlsx
Binary file not shown.

0 comments on commit 0335046

Please sign in to comment.