Short Answer Questions - ICTWEB304

QuestionAnswer
Q1: Describe the difference between an XML Sitemap and an HTML Sitemap.

An XML Sitemap is designed for search engines to index pages efficiently.

An HTML Sitemap is for users to navigate more easily.

XML Sitemap Benefits: Improves SEO, faster indexing.

XML Sitemap Drawbacks: Not human-readable.

HTML Sitemap Benefits: User-friendly navigation, improves usability.

HTML Sitemap Drawbacks: Less helpful for SEO.

Q2: Evaluate three IDEs and their pros/cons for trainees.
  • VS Code: Fast, customizable, beginner-friendly.
  • Brackets: Simple, has live preview, but outdated.
  • Sublime Text: Fast, clean UI, needs manual setup and license.

VS Code is the most recommended for trainees.

Q3: Brief history of browsers and web standards.

The first browser (WorldWideWeb) was created in 1990. Netscape and Internet Explorer were popular later.

Inconsistent HTML/CSS support led to W3C's founding in 1994 to set standards.

Modern browsers follow W3C standards, improving compatibility.

Q4: What are website testing methodologies?

Browser Compatibility: Test on Chrome, Firefox, Safari, Edge.

Functionality: Check links, forms, buttons, navigation.

Other methods: responsive testing, performance checks.

Q5: Accessibility requirements for NT Government websites.

Websites must follow WCAG 2.0 Level AA standards including:

  • Text alternatives for images
  • Keyboard navigation support
  • Screen reader compatibility
  • Good contrast between text/background
  • Responsive/adaptable content
Q6: How to organize assets for a website.

Locally:

  • Project folder: Recipe-Website
  • Subfolders:
    • images
    • css
    • js
  • HTML files in the root folder

On Server: Use the same folder structure under public_html.

This helps simplify updates, maintenance, and uploading.