Code

2

 

In this age of Web 2.0 – Facebook, YouTube, Twitter, MySpace – websites have become increasingly sophisticated. The code behind such sites as these is daunting – to see what it looks like, choose View Source from your browser’s menu (Fig 2.1). You may be surprised, then, to find that it is possible to create a simple website completely by hand, using only a text editor. Of course, it is also possible to walk coast-to-coast across the USA, but you may wish to do it only once! Similarly, it is a valuable exercise to try writing code by hand, without software help, but I promise you won’t need to do it ever again.

 

Getting started in HTML

The code or programming language we are going to use here is HTML (Hypertext Markup Language), ...

Get How to Design Websites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.