-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformatting.html
44 lines (34 loc) · 1.71 KB
/
formatting.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Formatting</h1>
<!-- <h1>Formatting</h1> this is commenting btw. Just press Ctrl and / and you have this. Make sure to not not leak important info because this is visible in the page source on the browser-->
<h2>Formatting</h2>
<p>This point is <strong> important</strong> </p> <!--strong tag is used to make a word or words bolder. its better than <b> tag because of website intricasies-->
<p>Here are the <em>Italic words</em> that we need to emphasize </p> <!--em or emphasize tag is use to emphasize on a word by converting the text to italics. again, its better than i tag because of web intricasies-->
<p>Here is an example of how the small tag is used especially in copyright and legal texts or to write side comments in smaller text.
<hr>
<small> This is the legal text and its smaller in size. cc Swarn 2024 <sup>TM</sup> </small> <!-- sup tag is used for super-scripts or exponential/ x raised to the power y cases--> Now lets see what is the formula of water. It is H<sub>2</sub> O!
</p>
<p> Here is an example of a sentence that <del>has been deleted</del> and words that <mark> that have been highlighted </mark>
</p>
<h3 style="
text-align: left;
background-color: brown;
"
>These are the tags discussed:
</h3> <!-- style is an attribute of heading element -->
<ul>
<li>b, strong</li>
<li>i, em</li>
<li>small</li>
<li>sub, sup</li>
<li>del, mark</li>
</ul>
</body>
</html>