Tuesday, January 25, 2011

Quiz Answers


- Quiz Answers are to be written in Microsoft Word (or any rich text editor) and emailed to Mr. Seiler.
- Work ONLY with your group members, but...
- You have your computer, your group members' computers, and the entire internet at your disposal. (no email or instant messaging)
- Put ALL names at the top of the page.
- Copy Quiz QUESTIONS into body of the email as well as the ANSWERS.
Quiz Questions
#1 -- How did you find this quiz? What command or menu pull-down did you choose from the browser?
Quiz was hidden in the source code. You can find the quiz by choosing View>> Source in your browser.

#2 -- Why the heck are the quiz questions hidden? Not "WHY" did I do it, but "HOW" did I do it?
I hid the quiz by making it an HTML comment. Comments use a specific markup
#3 -- Write down all the BARE BONES code that every HTML page requires.
Bare bones code can be found here: (I will accept various incarnations of this)
http://websitesthatwork.sehsapps.net/templates/XHTMLstrict_template.html
The answer indicated here shows what you need for a STRICT page.
#4 -- For what purpose do we use the W3C Code Validator?
The code validator is used to make sure your code passes muster as strict XHTML and will not "break" in the browser. Essentially, if you pass, your code is "future-proofed." "Passing" does not mean your code is well-organized semantically, though.
#5 -- For the next couple questions, visit the Second website link mentioned in today's blog post.
LIST two (2) characteristics of HTML, as mentioned in the text.
DESCRIBE one of the characteristics using your own words (plain English, not the book's words).
  1. HTML is non-proprietary (nobody owns it)
  2. HTML can be created and processed by a wide range of tools
  3. HTML can structure text into hypertext links.
  4. HTML has evolved.
#6 -- What do we mean by XHTML as opposed to HTML? (see pg. #7 in the screen shots.)
The X in XHTML means we are following the strict rules of the XML (Extensible Markup Language) data definition language.
#7 -- Why should we use web standards? (i.e., why should we write standards-compliant code?)
Standards-compliant code ensures that your sites will not break in the web browser and will be future-proof. Standards also make your code more accessible to all, easy to update and maintain, and improve your search-engine rankings.
#8 -- What is tag soup? Please define tag soup for me:
Tag soup is code that is inefficient, unwieldy, redundant (repetitive), and hard to understand. It takes longer to load and can be nearly impossible to debug or maintain.
#9 -- Why should we separate content and presentation? Use your own words.
HTML was not designed to be used for designing pages. It was designed for use as a semantic markup language. CSS is used for design.
#10 -- Where should you store your files on your flash drive in order for them to be "served up" properly by the web server?
in the \xampplite\htdocs folder
#11 -- Please write the code for html that would produce an unordered list that contains three (3) items that you enjoy eating for breakfast.
Sample code is here:
http://websitesthatwork.sehsapps.net/codesamples/unordered_list.html
Complete quiz and email to Mr. Seiler or print. Your choice.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.