Computer Science, asked by vivekdugtal, 1 year ago

coding of ordered list

Answers

Answered by pratyush4211
21
Hey mate Here Your answer✍️
➡️Ordered list in Html means things written is serial Number.
Like1.dog,2.cat

For Coding Ordered List Start with OL

<html>
<body>

<h6>My pets Name<hz>
<ol>
<li>Dog</li>
<li>Cat</li>
<li>Parrot</li>
<li>Rabbit</li>

</ol>
</body>
</html>

Your Output be like⬇️⬇️⬇️
&lt;html&gt;<br />&lt;body&gt;<br /><br />&lt;h1&gt;My pets Name&lt;h1&gt;<br />&lt;ol&gt;<br />&lt;li&gt;Dog&lt;/li &gt; <br /><br />&lt;li&gt;Cat&lt;/li&gt;<br /><br />&lt;li&gt;Parrot&lt;/li&gt;<br /><br />&lt;li&gt;Rabbit&lt;/li&gt;<br /><br />&lt;/ol&gt;<br />&lt;/body&gt;<br />&lt;/html &gt;
Answered by mrunal6117
1

<html>

<body>


<h2>An Ordered HTML List</h2>


<ol>

<li>Coffee</li>

<li>Tea</li>

<li>Milk</li>

</ol>


</body>

</html>


This will be the output


Attachments:
Similar questions