-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjs.html
More file actions
44 lines (36 loc) · 975 Bytes
/
Copy pathjs.html
File metadata and controls
44 lines (36 loc) · 975 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>JavaScript Introduction</title>
<style>
body {
background-color: rgba(128, 128, 128, 0.452);
}
div img {
display: block;
margin-left: auto;
margin-right: auto;
}
div p {
text-align: justify;
background-color: grey;
border: 2px solid grey;
color: white;
padding: 15px;
}
</style>
</head>
<body>
<div>
<img src="js.png" width="500" height="500" alt="" />
<p>
JavaScript is commonly used for creating web pages. It allows us to add dynamic behavior to the webpage and add
special effects to the webpage. On websites, it is mainly used for validation purposes. JavaScript helps us to
execute complex actions and also enables the interaction of websites with visitors.
</p>
</div>
</div>
</body>
</html>