HTML 5 Introduction | IT Tech Guy Online
HTML 5 is a markup language used for structuring and presenting content on the World Wide Web. It was finalized, and published, on 28 October 2014 by the World Wide Web Consortium (W3C). This is the fifth revision of the HTML standard since the inception of the World Wide Web. The previous version, HTML 4, was standardized in 1997.
Its core aims are to improve the language with support for the latest multimedia while keeping it easily readable by humans and consistently understood by computers and devices (web browsers, parsers, etc.). HTML5 is intended to subsume not only HTML 4, but also XHTML 1 and DOM Level 2 HTML.
What is HTML ?
HTML is stand for Hyper Text Markup Language. It is the markup language which describe web documents or you can say it Web pages A markup Language is a set of markup tags and HTML documents are described by HTML tags. Each tag in HTML describe different document content .
The Example of HTML
<h1>My First Heading</h1>
<p>My first paragraph.</p>
Explanation of Example
- <!DOCTYPE html>
As we can see that in the example we have make a tag <!DOCTYPE html> tag describe that this document is in HTML
Then we open a tag for HTML <HTML> This tag defines that HTML property start from here Everything in this tag will be defined as an HTML element we have 2 different tags from every element in html 1st is the starting tag and the 2nd is closing tag when you open a HTML tag like <HTML> and you forgot to close the tag that might problem so you should have to close HTML tag also in the end this is how HTML tag close </HTML>.
So the Starting Tag of HTML is <HTML> and closing tag of HTML is </HTML>
<head></head> Above mentioned Tag is <Head> it will be under the HTML tag. head Tag provide the information about HTML document. This tag also close like </HEAD>
HTML Title Tag provide the Title of Document. like in the Title you can put “My First Website” it means you gave the title to your website Title tag also start like <title> and close like </title>
Body Tag in Html all the visible part of your document of webpage will be visible under the body tag .
Like in the page of your website or any website the visible content you can see its all inside the Body tag.
<h1> Tag describe the Heading Tag. like anything you want to make it heading it will goes into h1 tag this tag also close like </h1> and you can make heading 1 like <h1> and heading 2 like <h2> till six some sizes differences
<P> Tag describe the paragraph tag in Html. like after heading you can put a paragraph in your document or webpage coding as you can see above