Add 'HTML Tags' (#20820)

* Add 'HTML Tags'

* Update index.md
This commit is contained in:
Bhuvan Singla
2018-11-04 00:56:30 +05:30
committed by Christopher McCormack
parent 128dd4b9e8
commit c07e656f83

View File

@ -45,6 +45,18 @@ h1: The element defines a large heading
p: The element defines a paragraph
### HTML Tags
HTML tags are element names surrounded by angle brackets:
```<tagname> here is the content.. </tagname>```
HTML tags normally come in pairs like ```<h1>```and ```</h1>```
The first tag in a pair is the start tag, the second tag is the end tag
The end tag is written like the start tag, but with a forward slash inserted before the tag name
### HTML Versions
Since the early days of the web, there have been many versions of HTML