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.
Html5 Tutorial - Future Technology
Wednesday, 16 April 2014
HTML5 Interview Questions and Answers Part - 1
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.
Subscribe to:
Post Comments (Atom)
Really this HTML5 interview Questions is help full for new candidates. Currently i am doing job change in HTML5. I learned these questions before into interview with Cognizant Solution. Thanks i got few questions from this article. Nice one. I am sharing few more interview questions here for HTML5 Developers http://jharaphula.com/top-15-html5-interview-questions-with-answers
ReplyDeleteHTML5 is the 5th revision of basic HTML. Compare HTML4 HTML5 comes with many new features. Some of the Key features are Canvas, Media Elements, Form Elements, many tags, Application Cache, Local & Session Storage. Are you a UI Developer? In this week-end going to attained a walk-in. Read all possible HTML5 interview questions with Answers http://jharaphula.com/top-html5-interview-questions-with-answers
ReplyDeleteThanks to Admin for Sharing such useful Information. I really like your Blog. Addition to your Story here I am Contributing 1 more Similar Story UI Developer Interview Questions for Experienced Professionals.
ReplyDelete