Punjab College Of TechnicalEducation Report On HTML 5
</body> </html> 3.1. ElementsHTML documents are composed entirely of HTML elements that, in their most general form have threecomponents: a pair of tags, a "start tag" and "end tag"; some attributes within the start tag; and finally, anytextual and graphical content between the start and end tags, perhaps including other nested elements.The HTML element is everything between and including the start and end tags. Each tag is enclosed inangle brackets. 3.2. AttributesMost of the attributes of an element are name-value pairs, separated by "=" and written within the start tagof an element after the elements name. The value may be enclosed in single or double quotes, althoughvalues consisting of certain characters can be left unquoted in HTML Leaving attribute values unquoted isconsidered unsafe. In contrast with name-value pair attributes, there are some attributes that affect theelement simply by their presence in the start tag of the element, like the is map attribute forthe image element. 3.3. Data typesHTML defines several data types for element content, such as script data and style sheet data, and aplethora of types for attribute values, including IDs, names, URIs, numbers, units of length, languages,media descriptors, colors, character encodings, dates and times, and so on. All of these data types arespecializations of character data. 4. Versions i> November 24, 1995 HTML 2.0 was published as IETF RFC 1866. Supplemental RFCs added capabilities ii> January 1997 HTML 3.2 was published as a W3C Recommendation. It was the first version developed and standardized exclusively by the W3C, as the IETF had closed its HTML Working Group in September 1996 iii> April 1998 HTML 4.0was reissued with minor edits without incrementing the version number. iv> January 2008 HTML5 was published as a Working Draft (link) by the W3C.
a vCard, a standard format for sharing contact information. You can also define your own microdatavocabularies.The HTML5 microdata standard includes both HTML markup and a set of DOM functions. There’s noharm in including microdata markup in your web pages. It’s nothing more than a few well-placedattributes, and search engines that don’t understand the microdata attributes will just ignore them. But ifyou need to access or manipulate microdata through the DOM, you’ll need to check whether the browsersupports the microdata DOM API 9. Difference Between HTML4 And HTML5 HTML4 HTML5Elements like nav, header were not present. It brought new element for web structure like nav, header etcIt was lack of rules of parsing so it is difficult Strictly parsing rules introduced in html5 soto handle error. handle the error.No multimedia supported without third party It inbuilt multimedia element in html5 like Audio, video, convas. It contains attributes like control menu, spellThese controls were not present check etc. 10. Websites using HTML5 YouTube uses HTML5, www.youtube.com/html5 Google wave, a collaboration tool from Google uses several html5 tags Only some of the browser only supports HTML5 features currently