HTML start Attribute

HTMLWeb DevelopmentFront End Technology

The HTML start attribute define the start value of the first list item in an ordered list in an HTML document.

Syntax

Following is the syntax −

<ol start=”number”></ol>

Let us see an example of HTML start Attribute −

Example

Live Demo

<!DOCTYPE html>
<html>
<style>
   body {
      color: #000;
      height: 100vh;
      background-color: #8BC6EC;
      background-image: linear-gradient(135deg, #8BC6EC 0%, #9599E2 100%);
   }
</style>
<body>
<h1>HTML reversed Demo</h1>
<p>List of subjects: </p>
<ol start="10">
<li>Physics</li>
<li>Chemistry</li>
<li>Maths</li>
<li>Biology</li>
<li>Economics</li>
</ol>
</body>
</html>

Output

raja
Published on 23-Sep-2019 12:50:50
Advertisements