Chuyển đến nội dung chính
Build your own webpage
- HTML Order List:
- HTML allows us to open an Order List with tag: <ol> and certainly close with </ol>.
- Inside Order list tag <ol>, it is possible to create a list with tag <li> </li> : It will display a list of element with ascending number order.
- Each element separate by line and tag <li> </li>.
- HTML Unorder List:
- HTML create an Unorder list for listing elements without order number, just bullet point. An Unorder List open and close with <ul> </ul> tag.
- Behind Unorder list tag <ul>, we still use tag <li> </li> to display each elements.
- As usual, HTML allows nested List for dynamic purpose of users.
- Programmer can leave a comment with tags: <!– comment ->>. It’s a good debug and readable tools.
- For create a personal style for displaying text, image…, HTML enable us to change style with attributes along with tag syntax. General syntax is: <tagname style =”defined elements” >. ex: <p style = “font-size: 10px”. The attribute separated with semi-comma ” ; “.
- font-size: size px.
- font-color: color.
- font-family: font name.
- background-color: color.
- text-align: position.
- To adjust display of text, HTML contains some tags:
- BOLD text: <strong> </strong> TAG.
- Italic text: <em> </em> TAG.

Nhận xét
Đăng nhận xét