Beruflich Dokumente
Kultur Dokumente
INTRODUCTION
HTML 5 is the new standard for HTML. HTML5 is still a work in progress HTML 5 is a cooperation between the World Wide Web Consortium(W3C) and the Web Hypertext Application Technology Working Group (WHATWG). New features of HTML 5 are based on HTML, CSS, DOM, and JavaScript. Reduce the need for external plug-ins (like Flash).
Multiple Placeholder
<input type="search name="user_search placeholder="SearchW3Schools"/>
required
HTML5 Tags
<fieldset> <form> <fieldset disabled=disabled> <legend>Personalia:</legend> Name:<inputtype="text"/><br/> Email:<inputtype="text"/><br/> Date of birth: <inputtype="text"/></fieldset> </form> NewAttributes 1)Disabled 2)Form 3)Name
<video>
<video width="320 height="240 controls="controls"> <source src="movie.mp4 type="video/mp4"/> </video>
New Attributes
1)Autoplay 2)Controls(play,pause.seeking,volume,caption,track) 3)Height 4)Loop 5)Muted 6)Poster 7)Preload <video controls="controls preload="none"> 8)Width 9)src
<details>
The open attribute is a boolean attribute. When present, it specifies that the details should be visible (open) to the user. <details open="open"> <summary>Copyright1999-2011.</summary> <p>-by Refsnes Data. All Rights Reserved. </p> <p>All content and graphics on this web site are the property of the company Refsnes Data. </p> </details>
<area>
<img src="planets.gif width="145 height="126 alt="Planets usemap="#planetmap"/> <map name="planetmap"> <area shape="rect coords="0,0,82,126 href="sun.htm alt="Sun"/> <area shape="circle coords="90,58,3 href="mercur.htm alt="Mercury"/> </map>
NewAttributes:1)Hreflang 2)Media <img src="planets.gif width="145 height="126 alt="Planets usemap="#planetmap"/> <map name="planetmap"> <area shape="rect coords="0,0,82,126 alt="Sun"href="sun.htm media="screen and (min-color-index: 256)/> </map> 3)Rel
<select>
New Attributes 1)Autofocus: It specifies that the drop-down list should automatically get focus when the page loads. 2)Form: <form action="demo_form.asp id="carform"> Firstname: <input type="text name="fname"/> <br/> <input type="submit"/> </form> <select name="carlist form="carform"> <option value="volvo"> Volvo </option> <option value="saab">Saab</option> </select>
<html>manifest Attribute
Advantages: 1) Offline browsing 2) Increased Speed 3) Reduced server load
<!DOC TYPE HTML> <html manifest="demo_html.manifest"> <head> <title>Title of the document </title> </head> <body> The content of the document...... </body> </html>