HTML, CSS, DOM - Part 1

22 June 2018

Can you think of an analogy to describe HTML, CSS and the DOM? How would you describe it to your non-technical friend?

HTML, CSS and the DOM can be analogised to a house. HTML is the structure of a house - where the walls and rooms etc will be. CSS is the style of the house - what colour, size, etc, the house components should be. The DOM is like an architectural building plan which shows each components' details.


What is meant by boxifying design?

A 'boxifying design' is a grid of organised boxes that contain various parts of a webpage, such as an image and/or text. Every element on a web page is contained and structured within a box


What is the box model?

The CSS box model is the foundation of 'layout' on the internet. Each element is a rectangular box, with the box's content, padding, border, and margin built up around one another.


  • HOME