HTML start Attribute

If this site has been useful, we’d love your support! Running this site takes time and resources, and every small contribution helps us keep creating valuable content. Consider buying us a coffee to keep things going strong!

Description

The HTML start attribute is used to specify the starting number of the first item in an ordered list (<ol>). This attribute is particularly useful when you need the list to begin with a number other than 1, allowing for greater flexibility in how ordered lists are presented within HTML documents. For instance, if you're creating a list that represents steps in a process, and you want to start from step 5 instead of step 1, you can use the start attribute to achieve this.

The start attribute should be included within the <ol> tag, and its value is the number at which the list should start. Here's a quick example:

<ol start="5">
  <li>Step five</li>
  <li>Step six</li>
  <li>Step seven</li>
</ol>

In the example above, the ordered list will begin counting from 5, so the items will be numbered as 5, 6, and 7. This attribute provides an easy way to adjust list numbering to meet the needs of various content structures within web pages.

Syntax

<ol start="number">

Values

  • numberAlphanumeric value. Starting value of ordered list.

Applies To

The start attribute can be used on the following html elements.

Example

<ol start="3">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

Browser Support

The following table will show you the current browser support for the HTML start Attribute.

Desktop
Edge Chrome Firefox Opera Safari
1211154
Tablets / Mobile
Chrome Firefox Opera Safari Samsung Webview
184143.214.4

Last updated by CSSPortal on: 29th March 2024