-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path9-DOM.html
82 lines (75 loc) · 3.07 KB
/
9-DOM.html
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
77
78
79
80
81
82
<!-- DOM REPRESENTS A DOCUMENT WITH A LOGICAL TREE.
IT ALLOWS US TO MANIPULATE OR CHANGE WEBPAGE CONTENT(HTML ELEMENTS). -->
<!-- console.dir(document.all[8].innerText);
document.all[8].innerText = "Peter Parker"; -->
<!-- getElementById -->
<!-- document.getElementById("mainImg") -->
<!-- let imgObj = document.getElementById("mainImg");-->
<!-- imgObj.src -->
<!--console.dir(imgObj);-->
<!--imgObj.tagName-->
<!--imgObj.id-->
<!-- getElementsByClassName-->
<!-- getElementsByTagName-->
<!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>Spider-Man</title>
<link rel="stylesheet" href="9-dom.css" />
</head>
<body>
<!-- <h1>Spider Man</h1>
<img src="assets/spiderman_img.png" id="mainImg" class="abc xyz" />
<h2>About</h2>
<p>
<b>Spider-Man</b> is a superhero appearing in American comic books
published by
<a href="https://www.google.com/search?q=Marvel+Comics" style="display: none">Marvel Comics</a>.
Created by writer-editor <b>Stan Lee</b> and artist <b>Steve Ditko</b>, he
first appeared in the anthology comic book
<a href="https://www.google.com/search?q=Amazing+Fantasy"
>Amazing Fantasy</a
>
#15 (August 1962) in the <a href="#">Silver Age of Comic Books</a>. He has
been featured in comic books, television shows, films, video games,
novels, and plays
</p>
<div class="box" >
<h4>Publication Info</h4>
<ul>
<li><a href="#" class="boxLink">Publisher</a></li>
<li><a href="#" class="boxLink">First Appearance</a></li>
<li>
Created by
<ul>
<li><a href="#" class="boxLink">Stan Lee</a></li>
<li><a href="#" class="boxLink">Steve Ditko</a></li>
</ul>
</li>
</ul>
</div>
<h2>Creation & Development</h2>
<p id="description">
In 1962, with the success of the Fantastic Four, Marvel Comics editor and
head writer Stan Lee was casting for a new superhero idea. He said the
idea for Spider-Man arose from a surge in teenage demand for comic books
and the desire to create a character with whom teens could identify. As
with Fantastic Four, Lee saw Spider-Man as an opportunity to "get out of
his system" what he felt was missing in comic books. In his autobiography,
Lee cites the non-superhuman pulp magazine crime fighter the Spider as a
great influence, and in a multitude of print and video interviews, Lee
stated he was further inspired by seeing a spider climb up a wall—adding
in his autobiography that he has told that story so often he has become
unsure of whether or not this is true.
</p>
<div class="images">
<img src="assets/creation_1.png" class="oldImg" />
<img src="assets/creation_2.jpeg" class="oldImg" />
<img src="assets/creation_3.jpeg" class="oldImg" />
</div> -->
<script src="9.js"></script>
</body>
</html>