What is HTML- Definition
HTML (HyperText Markup Language) is a language used to create hypertext documents and describe the structure of the information contained within the pages. HTML describes the structure of web pages, and CSS (Cascading Style Sheets) defines its presentation in the browser.
The history behind HTML code
In 1980, physicist Tim Berners-Lee, working for the CERN research center, created a prototype hypertext information system - ENQUIRE. He used the system to organize and share documents related to scientific research. The first publicly available HTML specification, called HTML Tags, was posted online by Berners-Lee in 1991. It contained 22 tags, forming the initial, simple skeleton of HTML.
What are tags, and how are they used in HTML?
An HTML tag/markup is a command that instructs what to do and how to display an HTML element on the web page. It takes the form of text, enclosed in sharp brackets. HTML tags come in pairs. The initial tag looks like this: <tag>. The final tag is created by adding / to the initial tag: </tag>. Most common HTML elements:
- HTML - opening tag
- HEAD - HTML headings - it's the header tag of the document
- META TITLE - the page title tag
- BODY - the body tag of the HTML document
- H1-H6 - header tags
- B/STRONG - Bold tag
- IMG - image tag
- A - hyperlink tag.