Introduction to html5

130

Published on

The presentation covers the basics of HTML5.

Published in: Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
130
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Introduction to html5

  1. 1. Introduction To HTML5 SARANSH KATARIA AKSHAY KATYAL 26/Aug/2011
  2. 2. Topics to be discussed Brief review of tags What Is HTML5? Why The Shift? Getting Started New Features New Additions The Forms Media Elements Flash or HTML5
  3. 3. HTML4 Tags Revisited• <!--...--> A comment• <!DOCTYPE> The document type (only one in HTML5)• <a> Hyperlink to a page or page area• <abbr> An abbreviation• <address> Container for an address• <area> An area inside an image map• <b> Bold text• <base> A base URL for all the links in a page• <bdo> Direction of text display• <blockquote> A block of text• <body> Beginning a body element
  4. 4. • <br> A single line break• <button> A clickable button• <caption> A table caption• <cite> Container for a citation• <code> Format for computer code text• <col> Defines attributes for table columns• <colgroup> Container for groups of table columns• <dd> Container for a value for the <dt> element• <del> Container for deleted text• <dfn> Representation of the defining instance of term• <dl> Head for an association list
  5. 5. • <div> Demarcation of division in a document• <dt> Specification for a name in name-value group (description list)• <em> Emphasized text• <fieldset> Container for a set of form controls• <form> Container for a form typically with input elements• <h1> to <h6> Text header 1 to header 6• <head> Container for the fi rst code to be interpreted by browser• <hr> Horizontal rule (line)• <html> Container for an HTML document• <i> Italic text
  6. 6. • <iframe> Frame an inline sub window• <img> Image container• <input> User-input field within a form container• <ins> Container for inserted text within implied paragraph boundaries• <kbd> Container for user keyboard input• <label> Representation of a caption in a user interface• <legend> Title in a fieldset border• <li> List item indicator• <link> A resource reference (for example, CSS)• <map> Image map container
  7. 7. • <mark> Text in one context marked for text in different context• <menu> Container for a list of commands• <meta> Container for meta information• <object> Container for embedded object (for example, a SWF file)• <ol> A numbered (ordered) list• <optgroup> An option grouping header in an options list• <option> Container for individual options in a drop- down list• <p> A paragraph block• <param> Plug-in parameters
  8. 8. • <pre> Preformatted text format• <tr> Demarcation of a table row• <q> Enclosed text with quotation marks• <script> Container for script for CSS, JavaScript, or another recognized script• <select> A selectable list• <small> Small text• <span> Inline section in a document• <strong> Strong text that looks like bold• <style> Container for a style definition• <var> Variable style in formula• <ul> An unordered list (a bullet list)
  9. 9. • <sub> Subscripted text• <sup> Superscripted text• <table> A table definition• <tbody> Demarcation for a block of rows for a table’s body• <td> A table cell• <textarea> A text area container• <tfoot> Representation for a block of rows of column summaries for a table• <th> Table header format• <thead> Representation of a block of rows of column summaries for a table header• <title> The document title
  10. 10. What Is HTML5?
  11. 11. Why HTML5? Reduces the use of JavaScript Good replacement for adobe apps No extra plug-in’s required Redundant tags removed Exciting new media elements Employs a lot of HTML4 elements
  12. 12. Getting started The doctypeXHTML 1.0 Transitional<!DOCTYPE html PUBLIC “-//w3c//DTD XHTML 1.0Transitional // EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>HTML5<!DOCTYPE html>
  13. 13. The Head Section <title> <title>Title goes here</title> <meta> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8”><meta name=”keywords” content=”kennels, dog fences, pet containment”> <meta http-equiv=”Refresh” content=”30”> Example
  14. 14. Structural Tags
  15. 15. The Latest AdditionsLINK
  16. 16. Web Forms Demo
  17. 17. Inserting Audio<audio src=”jazz.mp3”></audio><audio src=“x.mp3” autoplay controls></audio>
  18. 18. Inserting Videos<video src=”mbAux1small.mp4” controls preload=”auto”></video>
  19. 19. Browser Support
  20. 20. Flash Vs HTML5
  21. 21. New Features
  22. 22. Professional HTML5 in use
  23. 23. Tags used in HTML5• <article> Self-contained composition in document• <aside> Content tangentially related to content of the article• <audio> Sound content container• <canvas> Graphic development container• <command> A command that the user can invoke• <datalist> List generator when used with the <input> element and its new list attribute• <details> Discloses details of an element• <embed> External interactive plug-in or content• <figcaption> Caption tag for the figure element• <figure> Contains a group of media content and their caption
  24. 24. • <footer> Container for a footer for a section or page• <header> Container for header for a section or page• <hgroup> A heading of a section with multiple h1 to h6 elements in a document• <mark> A string of text in one document, marked or highlighted for reference in another document• <meter> Container for a known range of values (for example, disk use)• <nav> Representation of a section of a document intended for navigation• <output> Defi nes the progress of a task of any kind
  25. 25. • <progress> Representation of the progress made in a task (such as percentage complete in a download operation)• <section> Theme identifier for content grouping• <source> Container for multiple specification of media resources• <summary> Information on a <details> element• <time> Container for a date/time• <video> Element for linking to a video file• <keygen> The key pair generator control representation.
  26. 26. A Brief Glimpse Of The Next Session
  27. 27. SVG
  28. 28. CANVAS
  29. 29. Q&A Any questions? Any questions?
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×