40 important HTML 5 Interview questions with answers by www.questpond.com (One stop place for .Net and C# interview question videos)

Contents

Introduction I am ASP.NET MVC developer and recently when I was looking for a job lot of questions were asked connected to HTML 5 and its new features. So below are 40 important questions which would help you brush up your knowledge on HTML 5. These questions are not silver bullet to get a job but yes they are helpful when you want to quickly brush up the topic. Happy job hunting.

Courtesy: - www.questpond.com

What is the relationship between SGML, HTML , XML and HTML ? SGML (Standard generalized markup language) is a standard which tells how to specify document markup. It’s only a Meta language which describes how a document markup should be. HTML is a markup language which is described using SGML. So by SGML they created DTD which the HTML refers and needs to adhere to the same. So you will always find “DOCTYPE” attribute at the top of HTML page which defines which DTD is used for parsing purpose.

Now parsing SGML was a pain so they created XML to make things better. XML uses SGML. For example in SGML you have to start and end tags but in XML you can have closing tags which close automatically (“”). XHTML was created from XML which was used in HTML 4.0. So for example in SGML derived HTML “
” is not valid but in XHTML it’s valid. You can refer XML DTD as shown in the below code snippet.

In short SGML is the parent of every one. Older HTML utilizes SGML and HTML 4.0 uses XHTML which derived from XML.

What is HTML 5?

HTML 5 is a new standard for HTML whose main target is to deliver everything without need to any additional plugins like flash, Silverlight etc. It has everything from animations, videos, rich GUI etc. HTML5 is cooperation output between World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG).

In HTML 5 we do not need DTD why? HTML 5 does not use SGML or XHTML it’s completely a new thing so you do not need to refer DTD. For HTML 5 you just need to put the below doctype code which makes the browser identify that this is a HTML 5 document.

If I do not put will HTML 5 work? No, browser will not be able to identify that it’s a HTML document and HTML 5 tags will not function properly.

Which browsers support HTML 5? Almost all browsers i.e. Safari, Chrome, Firefox, Opera, Internet Explorer support HTML 5.

How is the page structure of HTML 5 different from HTML 4 or previous HTML? A typical web page has headers, footers, navigation, central area and side bars. Now if we want to represent the same in HTML 4 with proper names to the HTML section we would probably use a DIV tag. But in HTML 5 they have made it more clear by creating element names for those sections which makes your HTML more readable.

Below are more details of the HTML 5 elements which form the page structure.      

: Represents header data of HTML.
: Footer section of the page.

HTML Que.pdf

SGML (Standard generalized markup language) is a standard which tells how ... Hypertext Application Technology Working Group (WHATWG). ... HTML Que.pdf.

496KB Sizes 1 Downloads 189 Views

Recommend Documents

ajax1.html 1/2 ajax1.html 2/2 - CS50 CDN
3: ajax1.html. 4: 5: Gets stock quote from quote1.php via Ajax, displaying result with alert(). 6: 7: Computer Science 50. 8: David J. Malan. 9: 10: -->. 11: 12:

HTML Headings
This is heading 4. •. This is heading ... Comments are ignored by the browser and are not displayed. ... "View Source" in Internet Explorer, or.

HTML-opoly.pdf
Create your interpretation of the HTMLopoly gameboard using only HTML. That means craft a. table of cells to hold individual pictures and text that will ...

Introduction to HTML
HTML tags are used to mark-up HTML elements. ○ HTML tags are surrounded by the two characters < and >. ○ The surrounding characters are called angle ...

map1.html 1/1
map1.html. 1/1 lectures/8/src/. 1: . 11:.

map1.html 1/1
map1.html. 1/1 lectures/8/src/. 1: . 11:.

map1.html 1/1
map1.html. 1/1 lectures/8/src/. 1: . 11:.

Introduction to HTML
HTML tags are used to mark-up HTML elements. ○ HTML tags are surrounded by the two characters < and >. ○ The surrounding characters are called angle ...

HTML khmer.pdf
Page 1 of 106. រមក. សពៃថេនះ. រេ. ប . សក់ ុំពូ. ទ័រ គឺមេធយ!៉ងស$ន ំ ់មួយ ក&. ុ. ង. រេ'ះ. (យប)* និងជួយសរំលដល ួ. រ ់. /រ.Missing:

HTML khmer.pdf
99. Page 3 of 106. HTML khmer.pdf. HTML khmer.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying HTML khmer.pdf. Page 1 of 106.

html pdf embed
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. html pdf embed.

Basic HTML Book.pdf
Page 3 of 52. Basic HTML Book.pdf. Basic HTML Book.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Basic HTML Book.pdf. Page 1 of 52.

HTML 4.01 Specification
Dec 18, 1997 - translations of this document, see http://www.w3.org/MarkUp/html4-updates/translations. 2. 24 Dec 1999 18:26. HTML 4.01 Specification ...

HTML sitedu0.pdf
Page 1 of 249. Apprenez à créer. votre site web avec. HTML5 et CSS3. Par Mathieu Nebra (M@teo21). Ce PDF vous est offert par. www.supinternet.fr.

html template premium.pdf
Whoops! There was a problem loading this page. Whoops! There was a problem loading this page. html template premium.pdf. html template premium.pdf. Open.

lecture1/html/cs164/css/index.html
lecture1/html/cs164/css/index.html. . 10. 11. . 12. 13. . 14. . 15. . 16. . 17.

GSaudiaArabia HTML 5
New tags and Javascript: content editable, semantic tags. (article, section, etc.), history API, drag and drop from page to desktop, file access, local SQL database, web sockets, Canvas. OpenGL, ARIA attributes, ... New CSS: transformations, advanced

lecture1/html/cs164/css/index.html
Syllabus. 24. ...... lecture1/html/mvc/8/application/views/homepage/lecture.php.

Curso-HTML-+-CSS.pdf
Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Curso-HTML-+-CSS.pdf. Curso-HTML-+-CSS.p

HTML e CSS.pdf
... si devono usare questi tag per. modificare i caratteri ma per dare maggiore o minore importanza a un titolo. Page 3 of 21. HTML e CSS.pdf. HTML e CSS.pdf.

taco html edit.pdf
Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. taco html edit.pdf. taco html edit.pdf. Open. Extract. Open with.

HTML e CSS.pdf
modificare i caratteri ma per dare maggiore o minore importanza a un titolo. Page 3 of 21. Main menu. Displaying HTML e CSS.pdf. Page 1 of 21.