Free, independent guides since 2010

Code

Coding for websites

Learn to code for the web: HTML, CSS, JavaScript and PHP for beginners, plus our dom4j guides for Java developers working with XML.

<guide section="Code" type="guide" read="1 min"/>

You do not need to become a full-time developer to build a good website, but a little code knowledge goes a long way. It helps you fix a layout, understand what your CMS does, talk to a developer on equal terms and avoid the mistakes that slow sites down. On this page you find all our coding guides, from the first HTML tag to server-side PHP.

The order we recommend

  1. HTML – the structure and content of a page. Start with HTML basics and document tags.
  2. CSS – how a page looks. Read what CSS is and then CSS layout with flexbox and grid.
  3. JavaScript – interaction in the browser. Our modern JavaScript basics get you going.
  4. PHP – code that runs on the server, the language behind WordPress. Check which PHP version your site should run.

For Java developers

This website shares its name with dom4j, the open-source Java library for XML. Our guides cover parsing, XPath, writing XML and secure configuration.

In this branch

/coding · 45 pages

JavaScript

An introduction to JavaScript: what it is, what it can do on your website and how it works together with HTML and CSS.

PHP

An introduction to PHP, the server-side language behind WordPress and much of the web: what it does and how to get started.