Skip to the content ForoHackers
Log inJoin

Web standards: start here

Web standards
#3421 · · Quote · Report

Web standards are the shared specifications that let any browser, server and tool agree on how the web works: HTML, CSS, HTTP, URLs, the DOM and many more. They are written in the open by standards bodies and implementers, and they are why a page you publish once can be read on any device.

Key concepts

  • Open specifications: documents that describe exact behaviour, so independent implementations interoperate.
  • Living standards: some specs are continuously updated rather than frozen in editions.
  • Backward compatibility: the web rarely breaks old pages, so old mistakes stay in the platform.
  • Feature detection and progressive enhancement: start from what works everywhere and add more where it is supported.
  • Conformance testing: shared test suites show how far each browser follows the spec.

Vocabulary

  • Specification: a technical document that defines how a feature behaves.
  • Interoperability: different products working together because they follow the same rules.
  • Vendor prefix: an old convention for experimental features, now mostly retired.
  • Validator: a tool that checks markup against the rules of the language.

What to study, in order

  1. Read the introduction of the HTML specification and a few element definitions.
  2. Learn the structure of a URL and how the parts are parsed.
  3. Validate a page and fix every error, to see where your habits differ from the rules.
  4. Use the platform's own documentation to check browser support before relying on a feature.
  5. Follow a proposal from an idea to a specification and see who takes part.

Related tags

#standards #hypertext #browsers #accessibility

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply