Hệ thống: | MightyLMS - Quản lý giáo dục |
Khoá học: | Web Design [HTML] |
Book: | Submodule 2.1: Comments and Lists |
Được in bởi: | Người dùng khách |
Ngày: | Thứ Sáu, 15 tháng 11 2024, 1:09 PM |
Comments are used in HTML when we want to remind ourselves something or we want to explain to others what we did.
Comments are not visible on the page.
The comment tag starts with <!--
and ends with -->
.
In HTML there are two types of lists <ul>
and <ol
.
<ul>
stands for unordered list, which is the classical list with bullet points.
<ol>
stands for ordered list in which its items are marked with numbers.
Each item of both lists starts with <li>
tag, which stands for list item, and ends with </li>
.
By default a <ol>
will start counting from 1.
However, we are able to change the start point, reverse the counting or even use alphabetical characters.
Unordered list
Ordered list
This ordered list starts from 2000
This ordered list is reversed
Nested list
You can find more examples of Lists on w3schools
Exercise
exersice02.1.02.html
in the folder "Exercises"