Tokanny Faith Foundation Tokanny Faith Foundation Learning Hub
Unit 7 · Lesson 4

How websites work

What happens when you open a website, and the three languages that build every web page.

1:54 videoSave video (1.9 MB) Captions are on

Key points

  • When you open a website, your browser asks a server for the page, and the server sends back the files.
  • HTML is the content (headings, text, images, links), CSS is the style (colours, fonts, layout) and JavaScript is the behaviour.
  • HTML uses tags in angle brackets, like <h1>, <p> and <a>. Most come in pairs with a closing tag like </p>.
  • A domain name is a website's address, like tokannyfaithfoundation.org.

Try it: HTML, CSS or JavaScript?

Sort each part of a website into the language that makes it.

Check your understanding