HTML Select with All Days of The Week

Do you need to make an input select with all the days of the week? It’s quite common in some forms, and there is no need to do this manually all the time.

Here are ready-to-copy snippet you can use:

Days of the week, starting with Monday:

<select>
    <option value="Monday">Monday</option>
    <option value="Tuesday">Tuesday</option>
    <option value="Wednesday">Wednesday</option>
    <option value="Thursday">Thursday</option>
    <option value="Friday">Friday</option>
    <option value="Saturday">Saturday</option>
    <option value="Sunday">Sunday</option>
</select>

Output:

Days of the week starting with Sunday:

<select>
    <option value="Sunday">Sunday</option>
    <option value="Monday">Monday</option>
    <option value="Tuesday">Tuesday</option>
    <option value="Wednesday">Wednesday</option>
    <option value="Thursday">Thursday</option>
    <option value="Friday">Friday</option>
    <option value="Saturday">Saturday</option>
</select>

Output: