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

Related Homework Solutions

Developing a 2-Page Website
Homework Solution
$20.00
Computer Science
Programming
HTML
Website
Floating Images
Columns
Gallery
Navigation
Body
Header
Footer
CSS
Index Page
Colors
Design
MVC Web Application for Quotation
Homework Solution
$40.00
MVC Web Application
Quotation
Computer Science
Programming
Random Values
Strings
Admin Controller
URL
Database
Like
Dislike
MySQL
Display
HTML5 and CSS3 Problems
Homework Solution
$33.00
Web Development
HTML
CSS
Programming
Computer Science
Codes
Pages
Header
Footer
Navigation
Links
Images
Headings
Styles
Lists
Classes
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
Basic Website Development
Homework Solution
$25.00
Computer Science
Website Development
HTML
CSS
Contact Information
Business
Style
Horizontal Rules
Italic Fonts
Customers
Pages
Get help from a qualified tutor
Live Chats