Repository navigation
Expand file tree
/
Copy path6_Textformating.html
More file actions
60 lines (59 loc) · 2.01 KB
/
Copy path6_Textformating.html
File metadata and controls
60 lines (59 loc) · 2.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Text Formatting Tags</title>
<style> /* Inline css use gareko chu.*/
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 20px;
}
blockquote {
margin-left: 20px;
padding-left: 20px;
border-left: 3px solid #ccc;
color: #555;
font-style: italic;
}
pre {
background-color: #f4f4f4;
padding: 10px;
border: 1px solid #ddd;
overflow-x: auto;
}
code {
background-color: #f4f4f4;
padding: 2px 5px;
border: 1px solid #ddd;
border-radius: 5px;
}
.font {
font-family: "Comic Sans MS", cursive;
color: blue;
}
</style>
</head>
<body>
<h1>Text Formatting Examples</h1> <!--heading ko lagi-->
<p><b>Bold Text</b></p> <!--b tag paragraph bold banaunako lagi-->
<p><strong>Strong Text</strong></p> <!--Strong ra bold le same kam garcha.-->
<p><i>Italic Text</i></p> <!--italic banaunako lagi side ma inclined vayeko type-->
<p><em>Emphasized Text</em></p> <!--same like italic-->
<p><q>Quote Text</q></p> <!---quotes haru lekhnako lagi-->
<blockquote>This is a blockquote. It is used for larger quotes or citations.</blockquote>
<p><del>Deleted Text</del></p>
<p><ins>Inserted Text</ins></p>
<p><span class="font">Custom Font Text</span></p>
<pre>
This is preformatted text. <!---jasari lekheko cha same tesari show hunca.-->
It preserves spaces and line breaks.
</pre>
<p><code>This is inline code.</code></p>
<p><tt>This is teletype (monospace) text.</tt></p>
<p>HTML Entity Example: < > & " ' © ☃</p>
<p>Subscript: H<sub>2</sub>O</p>
<p>Superscript: x<sup>2</sup></p>
</body>
</html>