Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Section A/WT Practical 1905316.pdf
Binary file not shown.
18 changes: 18 additions & 0 deletions Section A/WTPractical 1905316/Practical1 1905316.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Practical 1</title>
</head>
<body>
<h1>Guru Nanak Dev Engineering College</h1>
<h3>Ludhiana - 141006</h3>

<img src="https://www.gndec.ac.in/sites/default/logo.png" alt="gndec" width="100%">

<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nisi autem accusantium incidunt cum eius nam saepe aliquid explicabo voluptatem ad earum est neque consequatur, quasi perspiciatis nihil magni, ipsa illo!</p>
<strong>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quos, voluptatibus!</strong>
</body>
</html>
60 changes: 60 additions & 0 deletions Section A/WTPractical 1905316/Practical2 1905316.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Practical 2</title>

<style>
h1 {
text-align: center;
}
table {
width: 50%;
margin-left: auto;
margin-right: auto;
}
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
</style>
</head>
<body>
<h1>Tables</h1>
<br>
<table>
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
<tr>
<td>Ernst Handel</td>
<td>Roland Mendel</td>
<td>Austria</td>
</tr>
</table>
<ol>
<li>Company</li>
<li>Contact</li>
<li>Country</li>
</ol>
<ul>
<li>Company</li>
<li>Contact</li>
<li>Country</li>
</ul>
</body>
</html>
33 changes: 33 additions & 0 deletions Section A/WTPractical 1905316/Practical3 1905316.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Practical 3</title>
</head>
<body>
<form>
<div>
<h2>Information</h2>
<p>Email:
<input type="email" name="email" id="email" placeholder="Email"> </p>
<p>Username: <input type="text" name="username" id="username" placeholder="Username"></p>
<p>Gender:
<select name="gender" id="gender">
<option value="">Select Gender</option>
<option value="Female">Female</option>
<option value="Male">Male</option>
</select>
</p>
<p>
Address:
<br>
<textarea name="address" id="address" cols="30" rows="10"></textarea>
</p>
</div>
<br>
<button type="submit">Submit</button>
</form>
</body>
</html>
53 changes: 53 additions & 0 deletions Section A/WTPractical 1905316/Practical4 1905316.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="Practical4.css">
<title>Practical 4</title>
<style>
.internal {
margin: 20px 50px;
background-color: #3edbf0;
color: #02475e;
font-weight: 500;
font-family: "Arial Narrow Bold", sans-serif;
padding: 30px;
border-radius: 20px;
}
</style>
</head>
<body>
<h1 style="text-align: center">Use of Cascading Style Sheets (CSS)</h1>
<div style="text-align: center; font-size: 3em">
Inline,Internal & External CSS
</div>
<div
style="
margin: 20px 50px;
background-color: #ff8474;
color: #02475e;
font-weight: 500;
font-family: 'Arial Narrow Bold', sans-serif;
padding: 30px;
border-radius: 20px;
"
>
Inline CSS An inline style may be used to apply a unique style for a
single element. To use inline styles, add the style attribute to the
relevant element. The style attribute can contain any CSS property.
</div>

<div class="internal">
Internal CSS An internal style sheet may be used if one single HTML page
has a unique style. The internal style is defined inside the style element, inside the head section.
</div>
<div class="external">
External CSS With an external style sheet, you can change the look of an
entire website by changing just one file! Each HTML page must include a
reference to the external style sheet file inside the <link /> element,
inside the head section.
</div>
</body>
</html>
9 changes: 9 additions & 0 deletions Section A/WTPractical 1905316/Practical4.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.external {
margin: 20px 50px;
background-color: #fea82f;
color: #02475e;
font-weight: 500;
font-family: "Arial Narrow Bold", sans-serif;
padding: 30px;
border-radius: 20px;
}
53 changes: 53 additions & 0 deletions Section A/WTPractical 1905316/Practical5 1905316.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="Practical5.css">
<title>Practical 5</title>
</head>
<body>
<main class="container">

<!-- Left Column / Headphones Image -->
<div class="left-column">
<img data-image="black" src="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.toshibaaudio.com%2Fwp-content%2Fuploads%2F2019%2F03%2Fgame-blue-1.jpg&f=1&nofb=1" alt="">
<!-- <img data-image="blue" src="images/blue.png" alt="">
<img data-image="red" class="active" src="images/red.png" alt=""> -->
</div>


<!-- Right Column -->
<div class="right-column">

<!-- Product Description -->
<div class="product-description">
<span>Headphones</span>
<h1>Beats EP</h1>
<p>The preferred choice of a vast range of acclaimed DJs. Punchy, bass-focused sound and high isolation. Sturdy headband and on-ear cushions suitable for live performance</p>
</div>

<!-- Product Configuration -->
<div class="product-configuration">
<!-- Cable Configuration -->
<div class="cable-config">
<span>Cable configuration</span>

<div class="cable-choose">
<button>Straight</button>
<button>Coiled</button>
<button>Long-coiled</button>
</div>

<a href="#">How to configurate your headphones</a>
</div>
</div>
<div class="product-price">
<span>148$</span>
<a href="#" class="cart-btn">Add to cart</a>
</div>
</div>
</main>
</body>
</html>
107 changes: 107 additions & 0 deletions Section A/WTPractical 1905316/Practical5.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
html, body {
height: 100%;
width: 100%;
margin: 0;
font-family: 'Roboto', sans-serif;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 15px;
display: flex;
}
.left-column {
width: 65%;
position: relative;
}
.right-column {
width: 35%;
margin-top: 60px;
}
.left-column img {
width: 100%;
position: absolute;
left: 0;
top: 0;
transition: all 0.3s ease;
}
.left-column img.active {
opacity: 1;
}
.product-description {
border-bottom: 1px solid #E1E8EE;
margin-bottom: 20px;
}
.product-description span {
font-size: 12px;
color: #358ED7;
letter-spacing: 1px;
text-transform: uppercase;
text-decoration: none;
}
.product-description h1 {
font-weight: 300;
font-size: 52px;
color: #43484D;
letter-spacing: -2px;
}
.product-description p {
font-size: 16px;
font-weight: 300;
color: #86939E;
line-height: 24px;
}
.cable-choose {
margin-bottom: 20px;
}
.cable-choose button {
border: 2px solid #E1E8EE;
border-radius: 6px;
padding: 13px 20px;
font-size: 14px;
color: #5E6977;
background-color: #fff;
cursor: pointer;
transition: all .5s;
}
.cable-choose button:hover,
.cable-choose button:active,
.cable-choose button:focus {
border: 2px solid #86939E;
outline: none;
}
.cable-config {
border-bottom: 1px solid #E1E8EE;
margin-bottom: 20px;
}
.cable-config a {
color: #358ED7;
text-decoration: none;
font-size: 12px;
position: relative;
margin: 10px 0;
display: inline-block;
}
.product-price {
display: flex;
align-items: center;
}
.product-price span {
font-size: 26px;
font-weight: 300;
color: #43474D;
margin-right: 20px;
}
.cart-btn {
display: inline-block;
background-color: #7DC855;
border-radius: 6px;
font-size: 16px;
color: #FFFFFF;
text-decoration: none;
padding: 12px 30px;
transition: all .5s;
}
.cart-btn:hover {
background-color: #64af3d;
}
46 changes: 46 additions & 0 deletions Section A/WTPractical 1905316/Practical6 1905316.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l"
crossorigin="anonymous"
/>

<title>Practical 6</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbar">
<div class="navbar-nav">
<a href="#" class="nav-item nav-link" id="login">Login</a>
<a href="#" class="nav-item nav-link" id="signup">Sign Up</a>
<a href="#" class="nav-item nav-link" id="logout">Logout</a>
<a href="#" class="nav-item nav-link" id="home">Home</a>
</div>
</div>
</nav>
<form method="POST">
<h3 align="center">Sign Up</h3>
<div class="form-group">
<label for="email">Email</label>
<input type="email" class="form-control" name="email" id="email" placeholder="Email">
<label for="username">Username</label>
<input type="text" class="form-control" name="username" id="username" placeholder="Username">
<label for="password1">Password</label>
<input type="password" class="form-control" name="password1" id="password1" placeholder="Password">
<label for="password2">Confirm Password</label>
<input type="password" class="form-control" name="password2" id="password2" placeholder="Password">
</div>
<br>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</body>
</html>
Loading