Made several grammatical changes (#23288)
Removed space between "/" and "body" in line 27 to correct the spacing. Added "use" in between "container" and "several" to make grammatical sense in line 32. Also added a space between "semantic" and the parathesis in the same line to make text look cleaner. Added "and" between "<header>" and "<footer>" because there are two items in line 33. Note: In "Introduction of semantic tags," the grammar and sentence structure does not make sense. I tried to correct it, however, it may not be the right correction and should be reviewed.
This commit is contained in:
@ -29,11 +29,15 @@ To create your pages in `HTML`, you need to know how to structure a page in `HTM
|
||||
### Changes in HTML5
|
||||
|
||||
#### Introduction of semantic tags
|
||||
|
||||
HTML contains both semantic and non-semantic tags.
|
||||
|
||||
Semantic tags are descriptive tags that can easily convey their meaning to both a browser and a developer. Examples of semantic tags are: `<header>`, `<footer>`, `<form>`, `<table>`, `<article>`, etc.
|
||||
Semantic tags are descriptive tags that can easily convey their meaning to both a browser and a developer. Examples of semantic tags are: `<header>`, `<footer>`, `<form>`, `<table>`, `<article>`, etc. These tags also help screenreaders which are used by the visually
|
||||
impaired.
|
||||
|
||||
Non-semantic tags are tags that convey nothing about what they contain. Examples of non-semantic tags are: `<div>`, `<section>`, `<span>`, etc.
|
||||
|
||||
Instead of using the generic `<div>` for every other container use the semantic tags such as `<header>` and `<footer>`.
|
||||
|
||||
#### More Information:
|
||||
[HTML: Introduction](https://www.w3schools.com/html/html_intro.asp)
|
||||
|
Reference in New Issue
Block a user