HCDE 532: Web standards

According the Web Standards Project, web designers in the 1990s wasted 25% of their time devising workarounds to their code as to be viewed properly in both Netscape and Internet Explorer.

Browser Standards

Tim Berners-Lee started the push for standards and the World Wide Web Consortium (W3C) advocates for standardization between the browsers to ensure compatibility and a better experience for the designers and the end users.

World Wide Web Consortium (W3C)

Technology Standards

Generally Internet Technology Standards cover interoperability of systems on the internet through defining protocols, messages formats, schemas, and languages.

Hypertext Transfer Protocol (HTTP)

Hypertext Transfer Protocol (HTTP) functions as a request-response protocol in the client-server computing model:

http

  • In HTTP, a web browser acts as a client while an application running on a computer hosting a web site functions as a server.
  • The client submits an HTTP request message to the server. The server, which stores content, or provides resources, such as HTML files, or performs other functions on behalf of the client, returns a response message to the client.

Uniform Resource Locator (URL)

When you want to find a website through the inter-webs you need to type in the Uniform Resource Locator (URL):

URI

Document Object Model (DOM)

Code Standards

When a web site or web page is described as complying with web standards, it usually means that the site or page has valid HTMLCSS and JavaScript. The HTML should also meet accessibility and semantic guidelines.

Hyper Text Markup Language (HTML)

Hyper Text Markup Language (HTML) is the predominant markup language for web pages and is the basic building-blocks of webpages:

  • HTML is written in the form of HTML elements consisting of tags, enclosed in angle brackets (like <html>), within the web page content.
  • HTML tags normally come in pairs like <h1> and </h1>. The first tag in a pair is the start tag, the second tag is the end tag (they are also called opening tagsand closing tags).
  • In between these tags web designers can add text, tables, images, etc.

Cascading Style Sheets (CSS)

Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of a document written in a markup language.

  • Its most common application is to style web pages written in HTML and XHTML, but the language can also be applied to any kind of XML document, including plain XMLSVG and XUL.
  • CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layoutcolors, and fonts.

JavaScript

JavaScript, also known as ECMAScript, is a prototype-basedobject-orientedscripting language:

Hypertext Pre-Processor (PHP)

Hypertext Pre-Processor (PHP) is a general-purpose scripting language originally designed for web development to produce dynamic web pages.

  • PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web pagedocument.
  • PHP is an Open-Source technology and can be deployed on most web servers and as a standalone interpreter, on almost every operating system and platform free of charge.