-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex5.html
More file actions
76 lines (62 loc) · 3.48 KB
/
Copy pathindex5.html
File metadata and controls
76 lines (62 loc) · 3.48 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>
<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">
<link rel = "icon" type = "image/webp" href = "Images/PikachiuImage.webp">
<title>William's Intro To CSS part 2!</title>
<link rel = "stylesheet" href="CSS style files/style(index5).css">
</style>
</head>
<body>
<h1>
This is sample header numero uno!
</h1>
<h2>
This is sample header numero dos!
</h2>
<p id="p1">
This is a cool lil paragraph@
</p>
<br>
<hr>
<h1 id="logang">WHAT'S UP LOGANG</h1>
<div id="box1"></div>
<!--margins = space around an element-->
<br>
<hr>
<h1 id="Pikachugang"> PIKACHU GANG</h1>
<div class="box" id="box1"></div>
<div class="box" id="box2"></div>
<!--flot property = allows other elements to flow around it-->
<img src = "images/pokeball.jpg" height="150px" id="img1">
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nam pariatur doloribus fugiat laudantium odio amet, aliquam animi quasi tenetur totam mollitia culpa veritatis voluptatem fuga dicta impedit quia. Nam, iusto?</p>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Dolores in autem ea voluptate placeat aperiam omnis. Quas, beatae consectetur dignissimos voluptatem reprehenderit distinctio, quos odit ullam iste perspiciatis qui cum!</p>
<img src="Images/charmander.jpg" height="170px" id="img2">
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nam pariatur doloribus fugiat laudantium odio amet, aliquam animi quasi tenetur totam mollitia culpa veritatis voluptatem fuga dicta impedit quia. Nam, iusto?</p>
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Non assumenda sint quo fugit tenetur iure dicta voluptatem! Nesciunt amet, sit, itaque eius eligendi quas consequatur deserunt blanditiis quia ea iste.</p>
<br>
<hr>
<!--overflow = property that sets the desired behavior when content doesn't fit in the parent element box (overflows)
overflow: visible -> this lets any overflow characters be seen
overflow: hidden -> this hides any overflowing characters. Can still be interacted with though
overflow: clip -> similar to hidden, but used with overflow-clip-margin: __ px; to define how much extra is shown
overflow: scroll -> adds a scroll bar to see entire length of content
overflow: auto -> only adds a scroll bar if needed
-->
<div id="overflowdiv1">
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Repellendus tenetur minus neque totam doloremque vel iusto, alias quasi quam laborum tempora? Asperiores corrupti, nostrum non praesentium quae nobis sint a?</p>
</div>
<!--display = property specifies if/how an element is displayed
block-level = start on a new line, take up the full width available
(h1, div, p, form, header, footer)
inline = do not start on a new line, width is limited to what is needed
(span, a, img)
-->
<div id="display1">div</div>
<span id="display2">span</span>
<br>
<hr>
</body>
</html>