Docsity

Website Design Principles, Lecture notes of Web Design and Development

Partial preview of the text

Download Website Design Principles and more Lecture notes Web Design and Development in PDF only on Docsity!

BIT 2203: Website Design I

A. Simon Alex

BSc(CS),CCNA-MUK

e-mail: [email protected]

materials: http://awu.ac.ug/~simonalex/materials/BIT

Web Design Principles

Overview

1 Web Design Principles

The Current State of HTML

Moving from HTML to XHTML

Variables in the Web Design Environment

Web Design Principles The Current State of HTML

HTML and the World Wide Web Consortium

W3C is the organization behind the evolution and development of web

technologies.

The various committees that make up the W3C look to expand and set

standards for the many new Web technologies that have emerged.

These include Extensible Hypertext Markup Language (XHTML), Ex-

tensible Markup Language (XML) and Cascading Style Sheets (CSS).

Web Design Principles The Current State of HTML

The Limitations of HTML

HTML is a markup language, a structured language that is used to

identify common sections of a document such as headings, paragraphs,

and lists.

An HTML file includes text and HTML markup (or element) tags.

The browser interprets the HTML markup elements and displays the

results, hiding the actual markup tags from the user.

Web Design Principles The Current State of HTML

The Need for Style Sheets

Figure: Formatting data for multiple destinations

Web Design Principles Moving from HTML to XHTML

A Brief Introduction to XML

Like HTML, XML is also a subset of SGML, but has no predefined

elements.

The difference between XML and HTML is that HTML is a prede-

fined set of elements that the browser understands, while XML is a

metalanguage.

Web Design Principles Moving from HTML to XHTML

XHTML Syntax Rules

Documents must be well-formed

Elements must nest symmetrically

Element names are case sensitive

End tags are required

Empty elements are signified by a closing slash

Attribute values must be contained in quotes

Web Design Principles Moving from HTML to XHTML

Migrating from HTML to XHTML

Evaluate existing code

Evaluate existing display information

Create coding conventions

Start using CSS

Test for backward compatibility

Web Design Principles Variables in the Web Design Environment

Variables in the Web Design Environment

Browser compatibility

Connection speed

Screen resolution

Operating system

Web Design Principles Challenge for the Bored !!!

Challenge for the Bored

Challenges

Explain how the browser’s caching capability improves download time.

What work does the World Wide Web Consortium perform?

What are the advantages of using an external style sheet?

List the two most common screen resolutions.