Recent

6/recent/ticker-posts

HTML (10)

HTML (10)


What is Coding and Why is it so Important? - Spaces


SUBSCRIPT

To write something like h2o we use subscript

EG ↓↓↓↓↓↓


<html>

<head>
<title>My Page</title>   
</head>
<body>
<p>To write something like h<sub>2</sub>o</p>
</body>
</html>




SUPERSCRIPT

To wrote something like x we use superscript

Eg ↓↓↓↓↓↓↓↓

<html>
<head>
<title>My Page</title>
<body>
<p>To write something like x<sup>2</sup></p>
</body>
</html>



SPECIAL CHARACTERS

We use different codes for some characters
  1. &lt; = used for left bracket (<)
  2. &gt; = used for right bracket (>)
  3. &amp; = used for (&)
Eg ↓↓↓↓↓↓

<html>
<head>
<title>My Page</title>
</head>
<body>
<p>The &lt; brackets &gt; &amp; special characters</p>
</body>
</html>

Post a Comment

0 Comments