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 MCA1/1B/55_2101121_Mohan_Ramola/Demo-2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

22 changes: 22 additions & 0 deletions MCA1/1B/55_2101121_Mohan_Ramola/External CSS.txt
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: lightblue;
}
h1 {
color: navy;
margin-left: 20px;
}
19 changes: 19 additions & 0 deletions MCA1/1B/55_2101121_Mohan_Ramola/Student Registration Form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!doctype html>
<html>
<head>
<title> Student Registration </title>
</head>
<body bgcolor="sky blue">
<form name="regForm">
<label>Username: <input type="text" id="username"></label><br>
<label>Password: <input type="password" id="pwd"></label><br>
<input type="submit" class="login" value="Log In" onclick="validation()" formtarget="_blank"><br>
<p> Date of Birth:</p>
<input type="datetime-local" name="d1"><br>
Email:
<input type="email" name="email" required placeholder="enter email" ><br><br>

<button> Submit </button>
</form>
</body>
</html>