IDNLearn.com: Your one-stop destination for reliable answers to diverse questions. Find the answers you need quickly and accurately with help from our knowledgeable and dedicated community members.

Observe the following output and write the complete HTML-CSS code to generate it:

Observe The Following Output And Write The Complete HTMLCSS Code To Generate It class=

Sagot :

Answer:

HTML:

<ol start="3">

 <li>English</li>

 <li>Maths</li>

 <li>Physics</li>

 <li>Chemistry</li>

 <li>Biology</li>

</ol>

CSS:

ol {

 color: green;

 font-family: Courier;

 list-style-type: lower-roman;

 border: 2px dotted black;

 width: 200px;

}

li {

 margin-left: 10px;

}

Explanation:

The left margin on the li is not very clean, but it prevents the roman numbers from exceeding the border.

View image Tonb