fix(learn): abstract comments from code (#40869)

This commit is contained in:
Nicholas Carrigan (he/him)
2021-02-03 08:58:33 -08:00
committed by GitHub
parent 48a210aeab
commit b0bd3f5549
2 changed files with 5 additions and 4 deletions

View File

@ -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.
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
<!DOCTYPE html>
<html>
<!-- Your HTML code goes here -->
</html>
```

View File

@ -19,10 +19,11 @@ Here's an example of a page's layout:
<!DOCTYPE html>
<html>
<head>
<!-- metadata elements -->
<meta />
</head>
<body>
<!-- page contents -->
<div>
</div>
</body>
</html>
```