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
25 changes: 25 additions & 0 deletions MCA1/1A/58_2101229_Sudhanshu_Singh_Payal/demo2
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!doctype html>
<html>
<head><title>Question 1</title><head>
<body>
<form>
<label for="uid">
Username:
</label>
<input type="text" name="username" id="uid" placeholder="Enter your name"><br>
<label for="pass">
Password:
</label>
<input type="password" name="pass" id="pass"><br>
<label for="DOB">
DOB:
</label>
<input type="date" name="date of birth" id="DOB"><br>
<label for="email">
Email:
</label>
<input type="email" name="email" id="email"><br>
<button type="submit" value="submit>Submit</button>
</form>
</body>
</html>
32 changes: 32 additions & 0 deletions MCA1/1A/58_2101229_Sudhanshu_Singh_Payal/demo2 Q2
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
External CSS

There are 3 types of css which are
1)Inline CSS
2)Internal CSS
3)External CSS
External CSS is used to apply the same styling in more than one webpages unlike the other two types of css where they are used for a single webpages only.
to use this external css we firstly have to make a seperate ".css" file and then we have to link that file in the multiple webpages wherever it is required.

Syntax
<link rel="Stylesheet" href="style1.css">

Example
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="style1.css">
</head>
<body>
<h1>This is Scripting Language deno 2 question 2 </h1>
</body>
</html>

style1.css
body{
background-color:red;
height:1000px;
width:1000px;
}
h1{
color:black;
}