fix(curriculum): update meta naming inconsistencies (#45446)

Fixes incorrect uses of the word `tag` to refer to an element.
This commit is contained in:
Justin
2022-03-17 16:13:16 -04:00
committed by GitHub
parent ce5b9b8aba
commit 17898b0ffc
3 changed files with 6 additions and 6 deletions

View File

@ -7,9 +7,9 @@ dashedName: step-2
# --description--
You may be familiar with the `meta` tag already; it is used to specify information about the page, such as the title, description, keywords, and author.
You may be familiar with the `meta` element already; it is used to specify information about the page, such as the title, description, keywords, and author.
Give your page a `meta` tag with an appropriate `charset` value.
Give your page a `meta` element with an appropriate `charset` value.
The `charset` attribute specifies the character encoding of the page, and, nowadays, `UTF-8` is the only encoding supported by most browsers.

View File

@ -7,7 +7,7 @@ dashedName: step-3
# --description--
Continuing with the `meta` tags, a `viewport` definition tells the browser how to render the page. Including one betters visual accessibility on mobile, and improves _SEO_ (search engine optimisation).
Continuing with the `meta` elements, a `viewport` definition tells the browser how to render the page. Including one betters visual accessibility on mobile, and improves _SEO_ (search engine optimisation).
Add a `viewport` definition with a `content` attribute detailing the `width` and `initial-scale` of the page.

View File

@ -7,13 +7,13 @@ dashedName: step-4
# --description--
Another important `meta` tag for accessibility and SEO is the `description` definition. The value of the `content` attribute is used by search engines to provide a description of your page.
Another important `meta` element for accessibility and SEO is the `description` definition. The value of the `content` attribute is used by search engines to provide a description of your page.
Add a `meta` tag with the `name` attribute set to `description`, and give it a useful `content` attribute.
Add a `meta` element with the `name` attribute set to `description`, and give it a useful `content` attribute.
# --hints--
You should add a new `meta` tag to the `head`.
You should add a new `meta` element to the `head`.
```js
assert.equal(document.querySelectorAll('meta').length, 3);