Edit This Code:
See Result »
Coffee
Tea
Milk
Water
Juice
Beer
Click the "Try it" button to display the value of the value attribute of the li element.
Try it
Result: