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
1 change: 1 addition & 0 deletions Amannegi-2101019
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

60 changes: 60 additions & 0 deletions external css.html.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
index.html

<!DOCTYPE html>
<html lang="en">
<head>
<title>Font</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2 class="h2">Demo test</h2>
<p>welcome to the first demo test
<br>
start your test...
</p>
<h1>I am an mca student</h1>
<h3 id="h3">i have completed the test</h3>
</body>
</html>


style.css

{
text-align: left;
margin: 50px;
}

h1{
color: rgb(21, 113, 58);
font-size: medium;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.h2{
color: rgb(177, 39, 143);
font-size: xx-large;
font-family: cursive;
}

#h3{
color: rgb(213, 100, 109);
font-size: 500%;
font-family: fantasy;
}

p{
font-size: 200%;
}

p::first-line{
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
color: rgb(133, 214, 53);
background-color: rgb(38, 134, 165);
}

p:hover::first-line{
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
color: rgb(9, 64, 83);
background-color: rgb(221, 81, 167);
}
18 changes: 18 additions & 0 deletions form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype>
<html>
<head><title>form</title>
</head>
<body>
<form action="link1.html">
<fieldset>
<legend align="center">Login form</legend>
<label for="userid">User Id: &nbsp;&nbsp;</lable>
<input type="text" required placeholder="enter your name" id="userid" name="myid"><br><br>
<label for="pass">password:</label>
<input type="password" required placeholder="etner password" id="pass" name="mypass"><br><br>
<a href="file:///C:/Users/Dell/c%20programming/first.html">
<input type="submit" value="login here" name="login">
</a>
</fieldset>
</body>
</html>