amaderitlearnhtml5.blogspot.com
HTML5 Event | Amader IT Learn HTML5
http://amaderitlearnhtml5.blogspot.com/2012/01/html5-event.html
Amader IT Learn HTML5. HTML 4 added the ability to let events trigger actions in a browser, like starting a JavaScript when a user clicks on an element. To learn more about programming events, please visit our JavaScript tutorial. And our DHTML tutorial. Below are the global event attributes that can be added to HTML5 elements to define event actions. New event attributes in HTML5. Events triggered for the window object (applies to the body tag):. Script to be run after the document is printed. Script to...
amaderitlearnhtml5.blogspot.com
HTML5 Geolocation | Amader IT Learn HTML5
http://amaderitlearnhtml5.blogspot.com/2012/01/html5-geolocation.html
Amader IT Learn HTML5. HTML5 Geolocation is used to locate a user's position. Locate the User's Position. The HTML5 Geolocation API is used to get the geographical position of a user. Since this can compromise user privacy, the position is not available unless the user approves it. Internet Explorer 9, Firefox, Chrome, Safari and Opera support Geolocation. Geolocation is much more accurate for devices with GPS, like iPhone. Use the getCurrentPosition() method to get the user's position. If the getCurrent...
amaderitlearnhtml5.blogspot.com
HTML5 Canvas | Amader IT Learn HTML5
http://amaderitlearnhtml5.blogspot.com/2012/01/html5-canvas.html
Amader IT Learn HTML5. The canvas element is used to draw graphics on a web page. The HTML5 canvas element uses JavaScript to draw graphics on a web page. A canvas is a rectangular area, and you control every pixel of it. The canvas element has several methods for drawing paths, boxes, circles, characters, and adding images. Create a Canvas Element. Add a canvas element to the HTML5 page. Specify the id, width, and height of the element:. Canvas id="myCanvas" width="200" height="100" /canvas. This means:...
amaderitlearnhtml5.blogspot.com
HTML5 Introduction | Amader IT Learn HTML5
http://amaderitlearnhtml5.blogspot.com/2012/01/html5-introduction.html
Amader IT Learn HTML5. HTML5 is the next generation of HTML. HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in 1999. The web has changed a lot since then. HTML5 is still a work in progress. However, most modern browsers have some HTML5 support. How Did HTML5 Get Started? Some rules for HTML5 were established:. New features should be based on HTML, CSS, DOM, and JavaScript. Reduce the need for external plugins (like Flash). The canvas element for drawing.
amaderitlearnhtml5.blogspot.com
HTML5 Form Elements | Amader IT Learn HTML5
http://amaderitlearnhtml5.blogspot.com/2012/01/html5-form-elements.html
Amader IT Learn HTML5. HTML5 New Form Elements. HTML5 has several new elements and attributes for forms. This chapter covers the new form elements:. The datalist element specifies a list of options for an input field. The list is created with option elements inside the datalist . To bind a datalist to an input field, let the list attribute of the input field refer to the id of the datalist:. Form action="demo form.asp" method="get". Webpage: input type="url" list="url list" name="link" /. Try it yourself...
amaderitlearnhtml5.blogspot.com
HTML5 Attributes | Amader IT Learn HTML5
http://amaderitlearnhtml5.blogspot.com/2012/01/html5-attributes.html
Amader IT Learn HTML5. The global attributes are supported by all HTML 5 elements (with a few exceptions). New global attributes in HTML5 . Specifies a shortcut key to access an element. Refers to a class specified in a style sheet. Specifies whether a user can edit the content of an element or not. Specifies a context menu for an element. The value must be the id of a menu element. Specifies the text direction for the content in an element. Specifies whether a user is allowed to drag an element or not.
amaderitlearnhtml5.blogspot.com
HTML Valid DTDs | Amader IT Learn HTML5
http://amaderitlearnhtml5.blogspot.com/2012/01/html-valid-dtds.html
Amader IT Learn HTML5. HTML5/HTML 4.01/XHTML Elements and Valid DTDs. The table below lists all HTML5/HTML 4.01/XHTML elements, and shows what Doctype. DTD) each element appears in. HTML 4.01 / XHTML 1.0. Amader IT Learn HTML5. 169; 2012 Amader IT Learn HTML5.
amaderitlearnhtml5.blogspot.com
HTML5 New Elements | Amader IT Learn HTML5
http://amaderitlearnhtml5.blogspot.com/2012/01/html5-new-elements.html
Amader IT Learn HTML5. New Elements in HTML5. The internet has changed a lot since HTML 4.01 became a standard in 1999. Today, some elements in HTML 4.01 are obsolete, never used, or not used the way they were intended to. These elements are deleted or re-written in HTML5. To better handle today's internet use, HTML5 also includes new elements for better structure, drawing, media content, and better form handling. New elements for better structure:. A button, or a radiobutton, or a checkbox. For ruby ann...
amaderitlearnhtml5.blogspot.com
HTML5 Canvas 2d | Amader IT Learn HTML5
http://amaderitlearnhtml5.blogspot.com/2012/01/html5-canvas-2d.html
Amader IT Learn HTML5. HTML5 canvas. getContext("2d"). The canvas element has no drawing abilities of its own. A canvas is a rectangular area, where you can control every pixel using JavaScript. HTML5 has a built-in object for the canvas element, the getContext("2d") object. The getContext("2d") object has methods to draw lines, boxes, circles, and more. The fill-color of the drawing, black is default. The stroke-color of the drawing, black is default. The width of the drawing stroke, 1 is default. Draws...
SOCIAL ENGAGEMENT