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
131 changes: 131 additions & 0 deletions MCA1/1B/21561012/Prashant Rawat
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
<!DOCTYPE html>

<head>

<title>

Registration Page

</title>

</head>

<body bgcolor="Lightskyblue">

<br>

<br>

<form>




<label> Firstname </label>

<input type="text" name="firstname" size="15"/> <br> <br>

<label> Middlename: </label>

<input type="text" name="middlename" size="15"/> <br> <br>

<label> Lastname: </label>

<input type="text" name="lastname" size="15"/> <br> <br>




<label>

Course :

</label>

<select>

<option value="Course">Course</option>

<option value="BCA">BCA</option>

<option value="BBA">BBA</option>

<option value="B.Tech">B.Tech</option>

<option value="MBA">MBA</option>

<option value="MCA">MCA</option>

<option value="M.Tech">M.Tech</option>

</select>




<br>

<br>

<label>

Gender :

</label><br>

<input type="radio" name="male"/> Male <br>

<input type="radio" name="female"/> Female <br>

<input type="radio" name="other"/> Other

<br>

<br>




<label>

Phone :

</label>

<input type="text" name="country code" value="+91" size="2"/>

<input type="text" name="phone" size="10"/> <br> <br>

Address

<br>

<textarea cols="80" rows="5" value="address">

</textarea>

<br> <br>

Email:

<input type="email" id="email" name="email"/> <br>

<br> <br>

Password:

<input type="Password" id="pass" name="pass"> <br>

<br> <br>

Re-type password:

<input type="Password" id="repass" name="repass"> <br> <br>

<input type="button" value="Submit"/>

</form>

</body>

</html>
60 changes: 60 additions & 0 deletions MCA1/1B/21561012/Prashant Rawat 1B external.css.html
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">Prashant Rawat</h2>
<p>There are a lot of Things...
<br>
To think About...
</p>
<h1>I am a MCA student</h1>
<h3 id="h3">I can achieve what I dream for...</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);
}
22 changes: 22 additions & 0 deletions MCA1/1B/21561012/external.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The external style sheet is generally used when you want to make changes on multiple pages. It is ideal for this condition because it facilitates you to change the look of the entire web site by changing just one file.

It uses the <link> tag on every pages and the <link> tag should be put inside the head section.

Example:

<head>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
The external style sheet may be written in any text editor but must be saved with a .css extension. This file should not contain HTML elements.

Let's take another example of a style sheet file named "mystyle.css".

File: mystyle.css

body {
background-color: green;
}
h1 {
color: red;
margin-left: 20px;
}