Advertisement Remove all ads

Write a Program in Html for the Following Output - Computer Science 1

Advertisement Remove all ads
Advertisement Remove all ads
Advertisement Remove all ads
Answer in Brief

Write a program in HTML for the following output:

(i)   Arts
      A. History
      B. Geography

(ii)  Science
      I. Computer Science
      II. Physics

(iii) Commerce
      O English
      O Accounts

Advertisement Remove all ads

Solution

<HTML>
     <BODY>
          <OL type = “i” >
                 <LI> Arts
                       <OL Type = “A” >
                       <LI> History </LI>
                       <LI> Geography </LI> </OL>
                  <LI> SCIENCE
                       <OL type = “I”>
                          <LI> Computer Science </LI>
                          <LI> Physics </LI>
                        </OL>
                         <LI> Commerce
                         <UL Type = “Circle”>
                            <LI> ENGLISH </LI>
                            <LI> ACCOUNTS </LI>
                     </UL> </LI>
                  </OL>
       </BODY>
</HTML>
Concept: Hyper Text Markup Language (HTML)
  Is there an error in this question or solution?

APPEARS IN

Advertisement Remove all ads
Share
Notifications

View all notifications


      Forgot password?
View in app×