All Tracks/basic html and html5/
Đang tải...
Hướng dẫn thử thách
1 / 28

Define the Head and Body of an HTML Document

You can add another level of organization in your HTML document within the `html` tags with the `head` and `body` elements. Any markup with information about your page would go into the `head` tag. Then any markup with the content of the page (what displays for a user) would go into the `body` tag. Metadata elements, such as `link`, `meta`, `title`, and `style`, typically go inside the `head` element. Here's an example of a page's layout: ```html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Example title</title> </head> <body> <div> </div> </body> </html> ``` # --instructions-- Edit the markup so there's a `head` and a `body`. The `head` element should only include the `title`, and the `body` element should only include the `h1` and `p`.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.html
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.