-
Notifications
You must be signed in to change notification settings - Fork 0
/
11-Quote button wbr bdi code iframe.html
67 lines (58 loc) · 2.24 KB
/
11-Quote button wbr bdi code iframe.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Elements Explanation</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #f4f4f4;
}
p {
max-width: 600px;
margin: 0 auto;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body>
<h1>HTML Elements Explanation</h1>
<p>
<strong><blockquote>:</strong> The blockquote element is used to indicate that the enclosed text is a long quotation
from another source. It is typically indented to distinguish it from the surrounding text.
<blockquote>
"To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment."
<footer>- Ralph Waldo Emerson</footer>
</blockquote>
</p>
<p>
<strong><button>:</strong> The button element represents a clickable button, which can be used to trigger actions.
<button onclick="alert('Button Clicked!')">Click Me</button>
</p>
<p>
<strong><wbr>:</strong> The wbr element represents a word break opportunity. It suggests where a line break
should occur within a word if the text overflows its container.
This is a long word: supercalifragilisticexpialidocious<wbr> (word break).
</p>
<p>
<strong><bdi>:</strong> The bdi element isolates a part of the text that might be formatted in a different direction
from other text outside it. It is useful for embedding user-generated content with unknown directionality.
<bdi>مرحبا بكم</bdi>
</p>
<p>
<strong><code>:</strong> The code element is used to define a piece of computer code. It is typically displayed
in a monospace font and is often used to represent code snippets within text.
<code><html></code>
</p>
<p>
<strong><iframe>:</strong> The iframe element represents an inline frame, allowing another HTML document to be
embedded within the current document.
<iframe src="https://www.example.com" width="400" height="300" title="Example Website"></iframe>
</p>
</body>
</html>