Thursday, August 21, 2014

Examining the structure of an HTML document

In a complete HTML Document have several different parts. Let’s take a look of some of them are:-










Here, in first line we have DOCTYPE declaration. The purpose of this, to tell the browser what version of HTML is to be expecting to be the rest of the document. If you see the DOCTYPE declaration before you notice. This one is very-very simple. This is the way the DOCTYPE declaration is supposed to look in HTML 5 complete document. HTML 5 or other version of HTML have much more complicated DOCTYPE include with details with DTD and things like that because HTML is now divorced from SGML. We don’t need DTD is actually no longer a valid thing to do. So, the purpose of this DOCTYPE declaration is become, just to tell the browser don’t use Quirk mode use standard mode. This a standard complain document. So, the DOCTYPE elements look like.
It should be the very first things in your document before any comment before any white space. If it’s not the very first thing and working on. Some browser it will not working on other browser. In particularly many version of Internet Explorer will fall back in Quirks mode. If that DOCTYPE is not the very first thing in the file. So, you just put it in at very top before your comments and anything else you use. Put it in there, and it do its job cross the board.
Comment in line two a comment is introduce by a left angle bracket and an exclamation point followed by two dash and a space and is all very important and in the end of the comment have four characters space followed by two dashes and right angle bracket.
Ex: -
Note: - one things keep in mind do not use two dashes right next to each other in your comments. Rest of this document is a tree of elements called a DOM tree document object model tree. At the root of the tree. The HTML element




Opening tag
Notice here we have an opening tag and tag in html. And they have this left angle bracket. So, the name of tag and then any attribute and then right angle bracket and then end tag. Left angle bracket and forward slash. Tag name and then closing angle bracket and end tag. Have no any attributes








That make head element a container anything from the opening tag end tag including everything in between all part of the “html” element. So, the content of the element from the head element which start there and ends there and ends there and the body element starts there ends there and the content of the head include all of these element “meta”, “title”, “links” and the contains of the body element includes these two elements h1 and “p” and in the head element and the body element are both children of the HTML. And so, the branches of the tree you could see html element to be the root of the tree and head and body to be the two sibling children or branches of same level and so the parent of the head element is html. And its children are “meta”, “title”, and link body consider as sibling. So, head element where you put things are head matter inside the document these “meta” tag which give the information about the document there is a title tag which describe the title that go in the title bar of the browser and the link tag which links up other related document in this case a CSS document stylesheet. If this CSS document isn’t there then it will not load the style layout in that CSS document. But html work just fine. It is just going to be ignored. And, then inside the body we have an h1 element which define a header which display bold and element describe a paragraph
consider as sibling. So, head element where you put things are head matter inside the document these “meta” tag which give the information about the document there is a title tag which describe the title that go in the title bar of the browser and the link tag which links up other related document in this case a CSS document stylesheet. If this CSS document isn’t there then it will not load the style layout in that CSS document. But html work just fine. It is just going to be ignored. And, then inside the body we have an
element which define a header which display bold and element describe a paragraph.  

consider as sibling. So, head element where you put things are head matter inside the document these “meta” tag which give the information about the document there is a title tag which describe the title that go in the title bar of the browser and the link tag which links up other related document in this case a CSS document stylesheet. If this CSS document isn’t there then it will not load the style layout in that CSS document. But html work just fine. It is just going to be ignored. And, then inside the body we have an

element which define a header which display bold and element describe a paragraph.

Saturday, August 16, 2014

What is HTML in detail explanation ?

What is HTML?
HTML is the linguafun of web, that use the language that makes it possible for various computer to communicate with each other these computer are maybe in different network in different country, different platform in different operating system. Desktop, Laptop, Mobiles, tablets etc. HTML is the common tongue it what make this possible.
HTML stands for (Hypertext Markup Language) Hypertext refers to the ability the links to the other pages other web resources.
Markup means, it is used to creating pages, formatted pages, text along with images and other resources embedded in page.
HTML originally based on old markup language called SGML (Standard Generalised Markup Language) the most recent version of HTML are no longer are tied to SGML the ability to create hyperlink is the fundamental capability is HTML. This is what makes the web a web. Links can be used for many purpose while, they are revolutionary.
When Tim Burner create HTML in early 19’s. Today’s these functionality is largely taken for granted but without it. We have no web. In the internet would be likely still be a geeky things that most people would never heard of this is actually what makes the web go round. HTML specially and why it’s in widely used in 21 years later.
There are several version of HTML in common use. The good news is all the modern browser support all version of HTML. In fact, they go the great deal of trouble to do so. Legacy HTML support a usually referred as,
·         Quirks Mode and support virtually anything that looks like HTML but, keep in mind. Quirks mode will result the pages that rendered in different browser. So, for consistency result you want to use good clean consist syntax and most current version of HTML. That supported by that target platform.
·         HTML 2.0 was ratify in 1995, it was the first standardise version of HTML. It was design to codify the existing practice was realise an internet RFC in NO. 2854.
·         HTML 3.2 was the first version HTML to be ratify by World Wide Web consortium W3C like HTML is design to formalize the existing best practice. It was ratify in 1997.
·         HTML 4.01 was realised in next year is clean up with some with HTML 4.0. And, 4.01 as the time of this writing is the latest standard version of HTML
·         14 years after the ratification of HTML 4.0 HTML 5 is still in work of progress well it’s not really that simple.
When that W3C was voted to stop working on new version of HTML in 2004. The Mozilla Foundation and Opera Software formed a new group called WHATWG.
·      WHATWG: - The web hypertext Application Technology Working Group. To work on new standard version of HTML meanwhile,
·      W3C favoured XHTML 2.0 intended to draw web development into more standard complied world. Web development community not respond to this effort. And the W3C drops XHTML 2.0 in 2009 and begin working with WHATWG on HTML 5.
·      HTML 5 is the group of technologies of which HTML is just one part these technologies include number of dom or document object model interface. They are typically accessed with JavaScript including web working Geo Location, Drag and drop, offline storage and much-much more.

·      WHATWG and W3C versions of the full HTML Specification and do not always agree and do not having same list of technology and include. But, they do agree on HTML Markup and that’s the part of specification we are concern in this course. This course covers HTML5 and particularly this course is about HTML 5. This is the part of specification that WHATWG and W3C agree and it is supported by latest version of all major browser both desktop and mobile device.