HTML : Hyper Text Markup Language
HTML is a language made up of elements that you can apply to pieces of text. These elements can change the meaning, structure and appearance of a document. It helps organize content—like headers, paragraphs and lists—as well as embed media like images and videos into the page.
History of HTML
Tim Berners-Lee and Robert Cailliau were two of the people who developed HTML in 1989. It stands for Hyper Text Markup Language. A markup language is a way that computers speak to each other to control how text is processed and presented. To do this HTML uses two things: tags and attributes.
Since then, many different versions of HTML have been created. The most widely used version throughout the 2000's was HTML 4.01, which became an official standard in December 1999.The latest version is known as HTML5.
XHTML, another version of HTML (eXtensible HyperText Markup Language), is a markup language that was created by the W3C (World Wide Web Consortium). XML, which stands for eXtensible Markup Language, is a standard markup language that is used to create other markup languages. Hundreds of XML languages are in use today, including GML (Geography Markup Language), MathML, MusicML, and RSS (Really Simple Syndication). Since each of these languages was written in a common language (XML), their content can easily be shared across applications. This makes XML potentially very powerful, and it's no surprise that the W3C would create an XML version of HTML (again, called XHTML). XHTML became an official standard in 2000; however, it had changed since its original version due to feedback from web developers who used it.
A First Html Document
Let us see the basic structure of html
<!DOCTYPE html> <html> <head> <title>Learn Html</title> </head> <body> <h1>This is the first heading</h1> <p>And the paragraphs go on</p> </body> </html>
You can see many elements starting with starting tag and ends with ending tag.The starting tag is written between < and > but at ending tag you can see a forward slash which denotes the tag is ended here </tagname>.
Let's discuss the example above .
<!DOCTYPE HTML>This denotes the document is of html 5.
<html>...</html>This is the rootelement of a html document .All the elements lies betweeen this tag.
<head>This denotes the Head of the document this includes the meta data ,
<title>,linking of css and js , of the html document .This element is not seen in document except some tags
<title>This denote the title of the html document.
<body>This is the main part of the html document which is seen in the screen/by the users.
<h1>...</h1> <p>..</p>These are the element of the html document.