Html Interview Question

Prev Tutorial Next Tutorial

Html Interview Question

Difference between radiobutton and checkbox

Radio button are used for select only one option among multiple option but checkbox are used for select multiple option among list of given option.

Difference between style and <style> tag

Every Html element has a default style. Default background color is white, text color is black, text-size is 12px . For changing these default style of an Html element, you need to use style attribute. And <style> tag are used for use css code inside html page.

Difference between Html and Html5

Doctype declaration in Html is too longer
DOCTYPE declaration in Html5 is very simple "<!DOCTYPE html>
character encoding in Html is also longer
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
character encoding (charset) declaration is also very simple <meta charset="UTF-8">
Audio and Video are not part of HTML4Audio and Videos are integral part of HTML5 e.g. <audio> and <video> tags.
Vector Graphics is possible with the help of technologies such as VML, Silverlight, Flash etcVector graphics is integral part of HTML5 e.g. SVG and canvas
It is almost impossible to get true GeoLocation of user browsing any website especially if it comes to mobile devices.JS GeoLocation API in HTML5 helps identify location of user browsing any website (provided user allows it)
Does not allow JavaScript to run in browser. JS runs in same thread as browser interface.Allows JavaScript to run in background. This is possible due to JS Web worker API in HTML5
Works with all old browsersSupported by all new browser.

Prev Tutorial Next Tutorial

Download Projects


FREE Online Google Play APK Downloader

Buy APP Installs, Buy 100% Genuine Installs