{"id":86,"date":"2005-10-05T06:45:34","date_gmt":"2005-10-05T06:45:34","guid":{"rendered":"http:\/\/lachy.id.au\/log\/2005\/10\/web-developer-quiz-update"},"modified":"2006-04-30T23:33:34","modified_gmt":"2006-04-30T23:33:34","slug":"quiz-update","status":"publish","type":"post","link":"https:\/\/lachy.id.au\/log\/2005\/10\/quiz-update","title":{"rendered":"Web Developer Quiz Update"},"content":{"rendered":"<p>I\u2019ve received quite a few responses to yesterday\u2019s Web Developer  Quiz, including some feedback about the type of questions I asked and criticism  about them being too much about SGML which I\u2019d like to take the opportunity to  address.<\/p>\r\n<p>Firstly, out of all the responses received in the last 24  hours (although, they\u2019re not yet published), not one person has answered all  questions correctly.  Indeed, there are  questions in there that no-one has answered correctly yet, which I am very  surprised about \u2014 I was expecting to, at least collectively, receive the  correct answers for all questions.<\/p>\r\n<p>Secondly, I\u2019m going to go through each section and explain,  without giving away the answers just yet, why I asked each question and why  it\u2019s important for authors to know the answers to them.<\/p>\r\n\r\n<h3 id=\"quiz-update-validation\">Validation<\/h3>\r\n<p>Looking at the sample document, it\u2019s not hard to  see that it makes use of unsupported SGML features that cannot be  used in the real world.  However, this  does not mean that authors do not need to be aware of them.<\/p>\r\n<p>In fact, the document demonstrates just how easy it is to  make unintentional use of such features, which, while it may not be what the  author intended, will either result in one of two possibilites.  1. Completely unexpected errors that don\u2019t  seem to make sense: a problem I see a lot of beginners struggle with.  2. As is the case with this document, the  combination of 2 specific authoring errors results in no validation error being  reported at all, for the mistakes.<\/p>\r\n<p>At this point, I\u2019d like to point out that there is just 1  error within the document (most people have picked it so far), but it has  nothing to do with the unsupported SGML features, and everything to do with the  declared DOCTYPE.  This will, perhaps,  become more apparent to you when I reveal the answers and explain the reasons for  the errors, or lack thereof, in more detail next week.<\/p>\r\n\r\n<h3 id=\"quiz-update-dom\">Elements in the DOM<\/h3>\r\n<p>The first of these questions is very much related  to an unsupported SGML feature, rather than real world, practical HTML, and I  admit, I just threw it in as a challenge for the more advanced authors.  It is, however, important to be aware of the  syntax and that it is unsupported, and thus cannot be used, even inadvertently.<\/p>\r\n<p> The second question is testing your knowledge of real world,  supported mark up.  You need to be aware  that start-tags and end-tags can be omitted for some elements, yet the elements  will still be present in the DOM.  You  also need to be aware of the HTML\/SGML comment syntax and, although it wasn\u2019t  really tested with these questions, the syntactic differences between SGML and XML  comments.<\/p>\r\n\r\n<h3 id=\"quiz-update-semantics\">Semantics<\/h3>\r\n<p>These are, perhaps, the easiest and most  practical questions in the quiz.  So far,  nearly everybody has answered these questions correctly, and I don\u2019t feel I  need to explain why they were included, it seems quite obvious to everyone.<\/p>\r\n\r\n<h3 id=\"quiz-update-charref\">Character References<\/h3>\r\n<p>Surprisingly, nobody has correctly any of these 3  questions.   Yet it is important from both a practical  point of view and a validation point of view, to understand the similarities  and differences between HTML, XHTML and XML with respect to character  references.  It is also important to have  an understanding of the Unicode character repertoire and code points, which is  what everyone has failed on, so far.<\/p>\r\n\r\n<h3 id=\"quiz-update-mime\">Media Types<\/h3>\r\n<p>Again, this is important from a practical  perspective.  Authors need to understand,  that they should not use XHTML with the wrong media type, and also understand  the practical limitations with doing so.   Conversely, although this was not tested with these questions, it is  important to understand the current practical limitations with using the  correct media type for XHTML.<\/p>\r\n<p> I\u2019ll be revealing the answers including all the responses to  the quiz on Sunday evening (local time).   Until then, tell others, who haven\u2019t seen it yet, about the quiz, I\u2019m  interested in finding out how much an average web developer really knows about  the technologies they use every day.<\/p>","protected":false},"excerpt":{"rendered":"Explanation about why I asked the questions I did, and why it\u2019s important for all web developers to know and understand them.","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[14,1,2,7],"tags":[],"_links":{"self":[{"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/posts\/86"}],"collection":[{"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/comments?post=86"}],"version-history":[{"count":0,"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/posts\/86\/revisions"}],"wp:attachment":[{"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/media?parent=86"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/categories?post=86"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lachy.id.au\/log\/wp-json\/wp\/v2\/tags?post=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}