fix(learn): abstract comments from code (#40869)
This commit is contained in:
committed by
GitHub
parent
48a210aeab
commit
b0bd3f5549
@ -19,12 +19,12 @@ The `!` and uppercase `DOCTYPE` is important, especially for older browsers. The
|
|||||||
|
|
||||||
Next, the rest of your HTML code needs to be wrapped in `html` tags. The opening `<html>` goes directly below the `<!DOCTYPE html>` line, and the closing `</html>` goes at the end of the page.
|
Next, the rest of your HTML code needs to be wrapped in `html` tags. The opening `<html>` goes directly below the `<!DOCTYPE html>` line, and the closing `</html>` goes at the end of the page.
|
||||||
|
|
||||||
Here's an example of the page structure:
|
Here's an example of the page structure. Your HTML code would go in the space between the two `html` tags.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<!-- Your HTML code goes here -->
|
|
||||||
</html>
|
</html>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -19,10 +19,11 @@ Here's an example of a page's layout:
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<!-- metadata elements -->
|
<meta />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- page contents -->
|
<div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user