HTML, XHTML, CSS, & JavaScript -- Sample questions for Quiz #2:

Given a picture of a very simple web page, write the 'plain html' for it.  Be sure to include the required elements in the appropriate positions and close each appropriately: <html, <head, <body, <table, <tr, <td, and <img.

Define, compare, and contrast these acronymns: HTTP, HTTPS, SSL, HTML, XML, XHTML, CSS. 

Or, asked separately, define and describe any of the above acronyms.

What limitations of HTML does XHTML help overcome?

Explain the 'cascading' part of cascading style sheets.  Name the three ways that styles affect XHTML elements.

What benefits are provided by External Style Sheets in a website?

How is an External Style Sheet referenced in a web page?  Where is the reference placed in the document?

How is an Embedded Style Sheet placed in a web page?  Where is it placed in the document?

How is an Inline Style placed in an element of a web page?

Describe appropriate uses for <table and <div in XHTML.

Describe the CSS 'Box Model' as applied to elements on an XHTML web page.

Name two tags used to mark up content that are appropriate for use in XHTML. Name two tags that are examples of inappropriate markup for content in XHTML.

What are the 'hallmarks' of well-Structured scripts?  What are the 'allowed' logical structures in Structured programming?  Two of these structures have a few variations - name at least two of the variations.

Given a script similar to those used to introduce Structured programming with JavaScript in class, mark it up to indicate each of the logical structures it demonstrates.  (Sequence; Alternative Selection: if/then, if/then/else, if/then/elseif; Loop: while, until; Function)

Given a script that just counts numbers in a file, mark it up to add the variables and operations to make it calculate an average of the numbers.

Describe each of the three primary features of Object Orientation in web page scripting as shown in class with the JavaScript for calculating an average: Properties, Methods, & Events.  

Describe 'transparency' in graphics.  Describe how you added transparency to the graphic element you used to demonstrate transparency in your web pages.

Describe the errors you found using the w3schools html and/or xhtml validation service.  What did you do to fix them?  (If you didn't find any errors, describe the techniques used to avoid errors.)