Computer Science, asked by shriyash66, 11 months ago

H2O.....write in HTMl code?​

Answers

Answered by Sushant05
14

~ How to write H20 in HTML ~

<html>

<head>

<title> H2O </title>

</head>

<body>

<!-- Sub = Subscript -->

H<sub>2</sub>O

</body>

</html>

Mark It As The Brainliest

Answered by Brainlyshchay
2

<!-- create a code for h2o equation -->

<!-- For best results add this code on codepen.io because we can see the output instantly -->

<!-- My choice is codepen for online editing -->

<!-- please don't report :(  -->

<!-- Step 1  -->

<!-- Add the basic Html Skeleton -->

<html>

 <head>

   <title>

     Create a code for h20 equation.

     </title>

 </head>

 <body>

   <h1>Create a code for h2o equation.

     <!-- Step 2  -->

     <!-- Add a p tag (p stands for paragraph) -->

     <p>

       <!-- add sup tag (sip stands for superscript) -->

       <!-- Done now add '2' in the cup tag -->

       H<sup>2</sup>O

       <!-- Done now we can see the output on the screen -->

     </p>

 </body>

 

</html>

Similar questions