Subject Computer Science Web Development (HTML, XML, PHP, JavaScript, Adobe, Flash, etc.)

Question

Task 1 - HTML, CSS, XHTML, and JavaScript

(i) Which HTML DOCTYPE (short for “document type declaration”) is used to code this page? How do you know?

(ii) Explain the two purposes of including the DOCTYPE information on the web page.

(iii) Write the URLs of all CSS style sheets used in this web page.

(iv) Explain the relationship between these CSS style sheets and the HTML document.

(v) Use your web browser to preview the print version of the web page. How does the Web browser know how to make that print-friendly page?

Task 2

View the following web page in your web browser and answer the following questions:
http://www.schooland.hk/post/sspa01

(i) Identify the character encoding scheme for that web page

(ii) Identify the title of that web page.

(iii) What is the content of the meta description of that web page?

(iv) Write the URLs of the CSS used in that web page.

(v) Identify all the JavaScript used in that web page.

(vi) Explain the function of any one JavaScript you identified in Part (v).


Task 3

Aside from HTML, explain how the following Web technologies may be used for building the new Speedy Office Web site.

You should take into account the Web site requirements stated in the client's RFP (Request for Proposal document, in the attached PDF). For each technology/language you must provide an
example of specific Web site content or functions which are to be developed with this technology/language. (Note: Your explanations must be specific to Speedy Office).

(i) Cascading Style Sheets (CSS)

(ii) JavaScript

(iii) XML

(iv) Common Gateway Interface (CGI), or other server-side scripts such as PHP

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

Task 1

View the following web page in your web browser and answer the following questions:

(i) Which HTML DOCTYPE (short for “document type declaration”) is used to code this page? How do you know?
The XHTML 1.0 Strict DOCTYPE is used for this page’s coding. This can be observed by the first 2 lines of code found in the document that read:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

(ii) Explain the two purposes of including the DOCTYPE information on the web page.
The main purpose of a DOCTYPE declaration is to let the browser know how to parse the rest of the document. Additionally, a DOCTYPE declaration allows special tools to validate the document for standards compliance.

(iii) Write the URLs of all CSS style sheets used in this web page. [2 marks]
The web page uses the following CSS style sheets:
1. http://www.maxdesign.com.au/wp-content/themes/maxdesign/style.css
2. http://www.maxdesign.com.au/wp-content/themes/maxdesign/stylesheets/mobile.css
3. http://www.maxdesign.com.au/wp-content/themes/maxdesign/style-ie7.css...

This is only a preview of the solution. Please use the purchase button to see the entire solution

$55.00

or $1 if you
register a new account!

Related Homework Solutions

XHTML Form
Homework Solution
$38.00
Web Development
Computer Science
Programming
Address
Contact
Email
Zip Code
Input Formats
Codes
PHP
Display Information
Error Messages
Format Problems
Verification
Statements
Variables
Conditions
HTML Forms
Homework Solution
$40.00
Computer Science
Web Development
HTML
CSS
Forms
Styles
Functions
Fields
Lists
Buttons
Options
Data
Statements
Tags
Variables
Login Credentials
Simple Survey Form Using PHP
Homework Solution
$33.00
Web Programming
Computer Science
Website Development
Simple Survey Form
PHP
Codes
Functions
Statements
Variables
HTML
Get help from a qualified tutor
Live Chats