Write the HTML code to create the following ordered list.
4. Write the H
A. Visual Basic
B. MS-Office
C. HTML
D. Adobe Photoshop
Answers
<html>
<head>
<title> ordered list </title>
<style>
body{background-color : yellow ; font-size :100px}
H1{colour-blue
</style>
</head>
<body>
<h1> ordered list </h1>
<ol>
<li> write the h </li>
<li> visual basic </li>
<li> html </li>
<li> adobe Photoshop </li>
</ol>
</body>
</html>
IF YOU WANT TO CHANGE THE DATA YOU CAN CHANGE DATA IN </LI > PART..
HTML Code for the above question :
Explanation:
<HTML><! –– HTML open tag ––>
<HEAD><! –– HEAD open tag––>
<TITLE> Code to present ordered list </TITLE>
</HEAD><! –– HEAD close tag ––>
<BODY><! –– and the comment closes with ––>
<OL start="4"><! –– First ordered list ––>
<LI type="1">Write the H </LI>
<OL type="A"><! –– Second ordered list ––>
<LI> Visual Basic </LI>
<LI> MS-Office</LI>
<LI> HTML </LI>
<LI> Adobe Photoshop </LI>
</OL><! –– Internal ordered list is closed ––>
</OL><! –– External ordered list will closed––>
</BODY><! –– BODY tag is closed ––>
</HTML><! –– HTML tag is closed––>
Code Explanation :
- When the user writes the code and saves the with any name with the help of the (.html) extension.
- Then the user needs to open the file with the help of the browser, then he gets the result as the above list.
Learn More:
- HTML : https://brainly.in/question/5393962