-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhtml_tag_paragraph.html
45 lines (40 loc) · 1 KB
/
html_tag_paragraph.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
body {
font-family: 'Courier New', Courier, monospace;
font-size: large;
text-align: center;
text-transform: uppercase;
background-color: #f0f0f0;
}
.container {
margin: 20px 300px;
padding: 20px;
box-shadow: 0 0 5px black;
border-radius: 5px;
background-color: #fff;
}
p {
padding: 10px;
border: 2px solid black;
}
</style>
</head>
<body>
<h1>HTML Tag : Paragraph</h1>
<div class="container">
<div>
Paragraph is a block-element. Unlike other block-elements,
paragraph doesn't support both inline and block. Paragraph
supports only inline. Using block element inside paragraph leads
to unpredictable rendering. So, it is semantically incorrect.
</div>
<p>This is a paragraph with an <q>inline element</q> inside it.</p>
</div>
</body>
</html>