Today I Learned - Rocky Kev

TIL the start attribute in lists

POSTED ON:

TAGS:

<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

RESULT:

  1. Coffee
  2. Tea
  3. Milk
<ol start="50">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

RESULT:
51. Coffee
52. Tea
53. Milk

VIA:
https://www.w3schools.com/tags/att_ol_start.asp


Related TILs

Tagged:

TIL Gmail has a 102KB size-limit for HTML

PLACEHOLDER

TIL how Error correction works in HTML

You never get an 'Invalid Syntax' error on an HTML page. Browsers fix any invalid content and go on.

TIL what DOCTYPE means

tl;dr: DOCTYPE declaration in the first line of the HTML file, to instruct the browser to run the code in Standard mode.