ul tag in HTML
- 24-07-2022
- Trung Minh
- 0 Comments
In this article, I will show you how to use the UL tag in HTML, this is a tag used to create a list, by combining with the li tag to create child elements.
The ul tag defines an unordered list. Use a combination of the ul tag with the li tag to create an unnumbered list. If you want to create a numbered list, the OL tag must be used.
1. How to use ul tag in HTML
For example , use the ul tag in conjunction with the li tag to create a list of courses.
<!DOCTYPE html> <html> <head> <title>Học lập trình miễn phí tại web888.vn</title> <meta charset="utf-8"> </head> <body> <h1>Học lập trình miễn phí tại web888.vn</h1> <ul> <li>PHP</li> <li>Javascript</li> <li>Css</li> <li>HTML</li> </ul> </body> </html>
2. Attributes of the ul . tag
The ul tag is provided with Global Attributes in HTML.
You can also use CSS to customize the UL . tag
3. Browsers that support the ul . tag
- Chrome
- Firefox
- IE
- Safari
- Opera