Advertisements
Advertisements
Question
Write HTML code to display an ordered list (with uppercase roman numbers) listing any three subjects being taught in your school. The web page should have a red background and the title of the page should be ‘My Subjects’.
Code Writing
Diagram
Advertisements
Solution
<HTML>
<HEAD>
<TITLE>My Subjects</TITLE>
</HEAD>
<BODY BGCOLOR = "RED">
<OL TYPE = "I">
<LI>English</LI>
<LI>Mathematics</LI>
<LI>Computer Applications</LI>
</OL>
</BODY>
</HTML>
Output:

shaalaa.com
Is there an error in this question or solution?
