Computer Science, asked by ruqayyak, 8 months ago

Create a html document to display menu which contains an ordered list using capital roman number of three food items-cake ,ice cream and cookie. Each ordered list item should contain a nested unordered list flavors. Provide three flavors in each ordered list. Right side of the each flavour it should display price. please do this it's urgent!!!!​

Answers

Answered by StaceeLichtenstein
3

Following are HTML code that are mention below

Explanation:

<html>

<body>

<ol type="I">

        <li>items-cake</li>

     <Ul>

<li>Strawberry-180 Rs</li>

<li>chocklate-100 Rs</li>

<li>pineapple-134 Rs</li>

</UL>

         

        <li>ice cream </li>

        <ul>

        <li>Strawberry-456 Rs</li>

<li>chocklate-160 Rs</li>

<li>pineapple-234 Rs</li>

</UL>

        <li>cookie</li>

        <ul>

        <li>South Indian-300 Rs</li>

<li>Chinese-400 Rs</li>

<li>Indian food-500 Rs</li>

</UL>

     </ol>

</body>

</html>

File must be save with .HTML extension.

Following are the description of HTML code:

  • In this code we used <ol> tag for the order list along with the type and<ul> tag for the unordered list.
  • By using <ol> and <ul> we design the program that are mention in the given question .  

Output:

Following are the attachment of output

Learn More :

  • brainly.in/question/16023315
Attachments:
Similar questions