Searching for "HTML5"

Q:

What are new Media Elements in HTML5?

Answer

Following are the New Media Elements are present in HTML5:


<audio> tag: for playing audio.


<video> tag: for playing video.


<source> tag: For media resources for media elements.


<embed> tag: For embedded content


<track> tag: For text tracks used in media players

Report Error

View answer Workspace Report Error Discuss

Q:

What is difference between HTML and HTML5?

Answer

The differences between HTML and HTML5 are:


- Document of HTML is very large as compare to the HTML5.


- Audio and Video tags are not present in HTML whereas HTML5 contains audio and video tags.


- Vector technology is not integral part of HTML whereas HTML5 Vector technology is the integral part of it.


- HTML supported by all old browsers whereas HTML5 is supported by new browser.


- In HTML web sockets are not available whereas in HTML5 Full duplex communication channel is present.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

Q:

What are the new attributes provided in HTML5 for "form" tag ?

Answer

The new attributes provided in HTML5 for <form> are: 


a.) autocomplete


– It specifies if a form or input field should have autocomplete as on or off. 


– If autocomplete is on, the browser is able to fill the values based on the values filled by the user earlier. 


– autocomplete works for following input types: text, search, url, tel, email, password, datepickers, range, and color. 


b.) novalidate


- This is a boolean attribute. 


- When present, it signifies that the form-data should not be validated when submitted.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

Q:

What is the concept of Application Cache in HTML5? What are its advantages?

Answer

The Application Cache concept introduced by HTML5 means that a web application is cached, and accessible without an internet connection.


There are three advantages of Application Cache:


1.Offline browsing - users can use the application when they're offline


2.Speed - cached resources load faster


3.Reduced server load - the browser will only download updated/changed resources from the server

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

Q:

What is HTML5 Web Storage?

Answer

With HTML5, it is possible for the web pages to store the data locally in the user's browser. This web storage is much faster and secured than the cookies. Also, a larger amount of data can be stored without causing any adverse effect to the performance of the website. 


The data here is not included with every server request. It is used ONLY when it is asked for. It is only that particular web page that can access the data stored by itself.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

Q:

What are the new features provided in HTML5?

Answer

Some of the new features provided in HTML5 are:


- It provides support for local storage


- New form controls, like calendar, date, time, email, url, search


- <canvas> element is provided to facilitate 2D drawing


- The <video> and <audio> elements are provided for media playback


- New content-specific elements are provided. For e.g. <article>, <header>, <footer>, <nav>, <section>

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology