adsense


Monday, 5 October 2015

HTML5 INTRODUCTION PAGE 1


INTRODUCTION


HTML5
1.INTRODUCTION
HTML: HTML stands for “Hyper Text Markup Language” which is used on “World Wide Web”. It is not a programming language. The main purpose of Html is to create web pages on the internet.Html is invented by Tim Burners Lee.
Advantages of html:
1.	Very easy to use language.
2.	User friendly language.
3.	You can interlink any number of web pages.
4.	You can format your webpage very attractively with different fonts, colors and font size and pictures.
5.	It is non-case sensitive language.
HTML5:

HTML5 is the latest and enhanced version for current version HTML 4.01 .It is a combination of new HTML markup tags, CSS3 properties, JavaScript, and several supporting technologies.
HTML5 designed to cater all web page needs without any plug-ins. It is a ready to use tool to handle music, movies, videos, animations, applications.
The new HTML5 includes features like video playback and drag-and-drop that have been previously dependent on third-party browser plug-ins such as Adobe Flash, Microsoft Silver light, and Google Gears. 
HTML5 is a co- operation between the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG).
HTML5 - New Features:
Some of the most interesting new features in HTML5:
New form controls: calendar, date, time, email, url, search.
New Semantic Elements: These are like <header>, <footer>, <section>, <article>, <nav>.

Audio & Video: You can embed audio or video on your web pages without resorting to third-party plugins. 
Geolocation: you can choose to share their physical location with your web application. 
Canvas/svg: This supports a two-dimensional drawing surface that you can program with JavaScript. 
Drag and drop: Drag and drop the items from one location to another location on a the same webpage. 
Forms 2.0: Improvements to HTML web forms where new attributes have been introduced for <input> tag.
Persistent Local Storage: To achieve without resorting to third-party plugins. 
Web Socket: Aa next-generation bi-directional communication technology for web applications. 
Server-Sent Events: HTML5 introduces events which flow from web server to the web browsers and they are called Server-Sent Events (SSE). 
Micro data: It creates your own vocabularies beyond HTML5 and extends your web pages with custom semantics. 
Html Editors
To make and run html programs we need below tools:
1.	Notepad (text editor)
2.	Any Browser.
HTML can be edited by using a professional HTML editor like:
•	Adobe Dreamweaver
•	Microsoft Expression Web
•	Coffee Cup HTML Editor
Html Basics 
Already we know that HTML document contains markups which are also called as ‘Tags’,
Tags: A Tag is a format to instruct the browser to display the content of HTML document.
A Tag starts with a less than (<) sign and ends with a greater than (>) sign.
Tags are two types:
1.	Empty tag
2.	Container Tag
Empty Tag: Empty Tags are used for formatting the text as paragraphs, horizontal rulers etc.
Ex: <P>, <HR>, <BR>……..
Container Tag: A Container Tag reflects the text between Tags. For example making text Bold, Italic…etc.
A Container tag contains a start tag (or) Opening Tag an end tag (or) Closing Tag. Opening Tag is same as closing Tag but with an addition of a forward slash.
Ex:1.<B>….</B>                      2.<I>….</I>
      3.<Head>….</Head>
Block diagram of Basic HTML Document:
Every HTML document will have two main parts:
1.Head part		2.body part
<Html>
  Head           <Head>
  Part              <Title>medha computers
</Title></Head>
<Body>
                         ……………..
                         ……………..
 Body                ……………...
Part                    </Body>
</html>
Head part: Head tag which contains title tag displays the title of the web page on the title bar of the browser.
Body Part: The body tag contains text, picture and sounds which are going to be displayed on the browser.
Html Tags: every html document begins with stating tag<HTML > and ends with closing tag</HTML>
Comments: We can add comment tags to under stand the document and also to know the details about the programmer.
Ex:<!...This  is  a  comment…..>
How to make an HTML document:
1. start Programs Accessories   Note pad.
2. Type your HTML program.
3. Save your file with extension .Html or.HTML
4. Open any browser.
5. In Browser’s file menu, open your html file.
6. You can use the content in the Browser.

Examples
Example 1:
<Html><Head><Title>Welcome to first html program</Title></Head>
<Body>
<! - - this is a comment. Which explains coding lines - - >
<! - - Comments are not visible in web pages - - >
           HTML5 is very simple, advanced version for developing web pages. New components like audio, video etc can be added without any plug-ins.
</body></Html>





No comments: