New Features Of HTML5
1. EMBED Tag
[Defines a container for external applications, flash content etc.]
Ex:
- <embed src="peoplecounter.swf" temp_src="peoplecounter.swf">
2. FIGURE Tag
[It specifies contents of media element, grouped with this element(drawing,
photo, graph, image etc.)]
Ex:
- <figure>
- <img src="abhi.jpg" temp_src="abhi.jpg" alt="hello HTML" width="" height="">
- </figure>
3. FIGCAPTION Tag
[Sets the title for <figure> element in HTMl code.]
Ex:
- <figure>
- <img src="abhi.jpg" temp_src="abhi.jpg" alt="hello HTML" width="" height="">
- <figcaption>hello HTML</figcaption>
- </figure>
4. KEYGEN Tag
[It defines the field that you press a button in a form. it sends the public key
and private key stored in the cache.]
Ex:
- <form>
- User_Name:
- <input type="text" name="User"
- Password:
- <keygen name="security">
- <input type="submit">
- </form>
5. MARK Tag
[It is used for highlighting the text.]
Ex:
- <p>
- <mark>C# corner</mark>
- </p>
6. PROGRESS Tag
[It defines that element is a running task.]
Ex:
- <progress value="25" max="100"> </progress>
7. SECTION Tag
[It defines a section part in the document. it can be a heading, page no. etc.]
Ex:
- <section>
- <h2>C# Corner</h2>
- <p>Welcome to C# corner</p>
- </section>
8. SOURCE Tag
[It defines more media resources for media elements if the browser is not
responding.]
Ex:
- <audio controls="">
- <source src="abc.mp3" temp_src="abc.mp3" type="audio/mp3">
- <source src="xyz.mpeg" temp_src="xyz.mpeg" type="audio/mpeg">
- </audio>
9. TIME Tag
[It Defines time and date.]
Ex:
- <p>
- <time>6:00</time>
- </p>
10. WBR Tag
[It defines the ability to add text wrapping]
Ex: