-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss1.html
More file actions
76 lines (76 loc) · 1.72 KB
/
css1.html
File metadata and controls
76 lines (76 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!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>Document</title>
<style>
a:hover
{
text-decoration: underline;
background-color:transparent;
color: red;
}
a:link
{
text-decoration: none;
background-color:transparent;
color: blue;
}
a:visited
{
text-decoration: none;
background-color:transparent;
color: black;
}
a:active
{
text-decoration: underline;
background-color:transparent;
color: yellow;
}
p{
background-color: red;
color:yellow;
font-size: 20px;
}
img
{
height: 200px;
width: 300px;
}
table,tr,th
{
border: 1px solid black;
/* margin: 20px 50px 10px 20px; */
padding: 50px 10px 10px 10px;
margin: 50px 10px 10px 10px;
}
*
{
color:red;
/* padding: 2px 5px 3px 4px;
margin: 2px 5px 3px 4px; */
}
</style>
</head>
<body>
<h1>Css & HTML</h1><br>
<p>Hello this is demo for css </p><br>
<img src="code1.jpg" alt="image not found"><br>
<a href="https://www.google.com/" target="_blank">Google</a><br>
<table>
<tr>
<th>name</th>
<th>number</th>
<th>contact</th>
</tr>
<tr>
<td>naresh</td>
<td>25565</td>
<td>56444654</td>
</tr>
</table>
</body>
</html>