This content originally appeared on DEV Community and was authored by VIDHYA VARSHINI
HTML list items:
In HTML, the list items
Block elements:
● Always starts on a new line
● Takes up the full width of its parent container by default
Example:
Inline Elements:
● Does not start on a new line
● Only takes up as much width as necessary
Example: ,
Shortcut: Ctrl + Shift + I - Alignment
Shift + I - ! Then if we press enter, default syntax will come.
Two types of list styling:
Ordered list: Display items in a numbered sequence.
This will appear as :
- First item
- Second item
- Third item
Unordered list: Display items in not a particular order like bullets instead of numbers.
This will appear as
● HTML
● CSS
● JavaScript
This content originally appeared on DEV Community and was authored by VIDHYA VARSHINI

VIDHYA VARSHINI | Sciencx (2025-07-09T18:44:34+00:00) Full Stack Learning : Day 2 Insights. Retrieved from https://www.scien.cx/2025/07/09/full-stack-learning-day-2-insights/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.