https://codetones.com
  • Parse Error: Syntax Error, Unexpected 'Text' (T_STRING), Expecting ',' or ';' >> Web development, It is a commor error that every programmer... << Read More >>
  • How To Increase The Battery Life Of The Laptop >> My laptop is mostly on-the-go. Because the problem of turning... << Read More >>
  • The Simplest 5 Steps To Do SEO(Search Engine Optimization) in Your Blog >> Seo search engine optimization is a huge thing, that can... << Read More >>
  • .htaccess Web Developing :: Basic to Advanced >> .htaccess is a very useful topic for web developers. We... << Read More >>
  • How to Convert PDFs into Microsoft Word Files >> Whether it is official or personal, sometimes we need to... << Read More >>
  • How Did A Good Programmer Become? >> Let's face it, it's not easy to become a programmer.... << Read More >>
  • How To Change Your Wi-Fi Router Password - How To Change Router Password >> I am telling today is almost the same in almost... << Read More >>
Facebook Twitter Google Plus Linkedin RSS Youtube

Codetones

Only for Creative mind

  • Home
     
  • PC Helpers
     
  • Technews
     
  • Tutorials
     
    • HTML
    • CSS
    • PHP
    • WordPress
  • Code FAQ
     
  • Users
     
    • Login
    • Create An Account
  • About Us
     
  • Contact Us
     
Home Page > Tutorials > HTML > Top 10 HTML5 Interview Question For Job Interview

Top 10 HTML5 Interview Question For Job Interview

author Author: Calixto

icon-calendar Date: 3 years ago

view Views: 1332

icon-comment Comments: 0

Share on

Facebook Twitter Google Plus Linkedin
Top 10 HTML5 Interview Question

1. What's new HTML 5 DocType and Charset?

DocType tells browser about specific version of HTML. HTML 5 simplified DocType as compared to previous version of HTML. 

<!doctype html>

And HTML 5 uses UTF-8 encoding as follows:

<meta charset="UTF-8">

2. What's the real difference between HTML and HTML5?

There are remarkable difference between HTML and HTML5. HTML was a simple language for layout text as well as images on a webpage. On the other hand HTML5 can be viewed as an application development platform which does far more then HTML does. HTML5 has better support for interactive graphics, audio, video, image. HTML5 introduce a number of new elements, supports offline data storage for applications. Has proprietary plug-in technologies like Adobe Flash, Apache Pivot, Microsoft Silverlight and Sun JavaFX are no longer needed because browsers can easily process these elements without additional requirements.

3. What are some new HTML5 markup elements?

Here are some new markup elements in HTML5:

<article>,    <section>,
 <aside>,         <command>,
 <Canvas>      <audio>
 <figure>,     <details>,
 <header>,     <footer>,
 <figcaption>, <summary>,
 <progress>,   <ruby>,
 <time>,       <wpr>,
 <hgroup>,     <mark>,
 <meter>,      <nav>, 
 <rt>,         <bdi>.

4. What are the new image elements in HTML5?

<Canvas> is a new element of HTML 5 which acts like a container for graphical elements (images and graphics). It supports 2D graphics. Todays Web Browser supports WebGL. WebGL stands for Web Graphics Language, a free cross-platform API that is used for generating 3D graphics in web browsers.

<canvas id="content" width="400" height="100">

</canvas>

 
5. What are some new input attributes in HTML5?

HTML 5 introduce many new form elements including: 

datalist, datetime, 
date, month, 
week, time, 
number, range, 
email,  url
output and keygen.

6. How can we embed Audio in HTML5?

HTML 5 introduced a standard way of embedding audio files as previously we don’t have any such support on a web page. Supported audio formats are MP3, Wav ,Ogg.

<audio controls>
    <source src="audio.mp3" type="audio/mpeg">
</audio>


7. How can we embed Video in HTML 5?

As audio, HTML 5 introduced a standard way of embedding video files which was not supported in previous versions. Supported video formats are MP4, WebM, Ogg.

<video width="450" height="340" controls>
  <source src="video.mp4" type="video/mp4">
</video>

8. What are the deprecated Elements in HTML5 from HTML4?

Elements that are deprecated from HTML 4 to HTML 5 are:

frame
frameset
basefront
noframe
applet
big
center

9. What are the new APIs provided by HTML 5 standard?

HTML 5 standard provided a number of new APIs. Few of it are as follows:

Media API
Text Track API
Command API
History API
User Interaction
Application Cache API
Data Transfer API
Constraint Validation API
and many more….

10. What are the different types of storage in HTML 5?

HTML5 enable to store data locally. Before HTML5, it was done with the help of cookies.
Important thing about this storage is that its fast as well as secure.

There are two different objects which can be used to store data.

localStorage object can store data for a long period of time even though the browser is closed. sessionStorage object can stores data for a short time user session.

Related Posts

New Feature in HTML5

New Feature in HTML5

New Input Types In HTML5

New Input Types In HTML5

New Form Attributes Of HTML5

New Form Attributes Of HTML5

Top 8 HTML5 Learning Books

Top 8 HTML5 Learning Books

Leave a Reply

Codetones Adblocker Notice

AdBlocker Detected

Please disable your adblocker
This site is supported by the advertisement
Please disable your adblocker to support us !

Online Tools

  • Image Convertor
  • File Convertor
  • Watermark On Image
  • Hash Password
  • Secure Password Generator
  • Color to Black & White Image
  • Black & White to Color Image

Popular Posts

Top 10 HTML5 Interview Question For Job Interview
Top 10 HTML5 Interview Question For Job Interview
Download A Huge Assortment of Stock Images Without Copyright Issue
Download A Huge Assortment of Stock Images Without Copyright Issue
How to Make Computer Faster in Easy Ways..
How to Make Computer Faster in Easy Ways..
What is the Domain Authority or the Page Authority? How do I check the Domain Authority account?
What is the Domain Authority or the Page Authority? How do I check ...
How Did A Good Programmer Become?
How Did A Good Programmer Become?
Large-Skycraper

Categories

  • HTML
  • CSS
  • PHP
  • WordPress

Join Codetones

Facebook Twitter Google Plus Linkedin RSS Youtube

Codetones

Codetones is the Web Solution Base Website. Here You Can Find Beginner to Advanced Level Tutorials.

Support

  • About Us
  • Contact Us
  • Codetones Mobile Apps

Accessibility

  • Terms of Use
  • Privacy Policy
  • Site Map
© Copyright 2019 Codetones. All Right Reserved

Powered by Codetones