Lecture 7: Complete Tutorial Of HTML Listing Tags - Exploring HTML Listing Tags in Hindi/Urdu - Order List And Unordered List

Exploring HTML Listing Tags in Hindi/Urdu - Order List And Unordered List

Complete Tutorial Of HTML Listing Tags


HTML <ol> Tag:

To create an ordered list in HTML, you can use the <ol> tag along with the <li> tags to define the list items. Here's an example:

order list html


In the code above, the <ol> tag represents the ordered list container, and each list item is represented by the <li> tag. You can add as many <li> tags as needed to define the items within the list.

When rendered in a browser, the list will typically appear with numbers or letters as markers by default, indicating the order of the list items.



HTML <ul> Tag:

To create an unordered list in HTML, you can use the `<ul>` tag along with the `<li>` tags to define the list items. Here's an example:

HTML <ul> Tag:


In the code above, the <ul> tag represents the unordered list container, and each list item is represented by the <li> tag. You can add as many <li> tags as needed to define the items within the list.






Post a Comment

Previous Next

نموذج الاتصال