forked from biratdatta/Webpage-Maker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiv-spans.html
31 lines (24 loc) · 1.31 KB
/
div-spans.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
<!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>Website</title>
<link rel="stylesheet" href="CSS/style.css">
</head>
<body>
<h1> Divs and Spans</h1>
<!-- Divs are divisions which have 0 width and it grows to fit the whole filler text inside it. they are pretty much boxes. All the other functionalities works same as usual.
-->
<!-- Giving classes-->
<div class="top-section">
<p> I'm Inside a div</p>
</div>
<div class="bottom-section">
<p class="intro"> <!-- Random Text from Random Generator-->
<span> This is div number 2 I don't need a big house, just a two-floor condo - you could say I have lofty expectations. </span>Tim Horton was a hockey player but is the name of a coffee chain, which means my dream of a goat sanctuary being my legacy is not unrealistic. I don't need a big house, just a two-floor condo - you could say I have lofty expectations. If you were a member of the Bloods and became paralyzed do you then become a member of the Crips?. Smiling could easily be misinterpreted for showing your teeth to someone because they said something that made you happy.
</p>
</div>
</body>
</html>