Skip to Content

How the web works and your first page

Browser, server, HTTP

The browser requests a URL; the server returns an HTML document; the browser then requests the CSS, JavaScript and images it references, and renders the page.

Your first page

<!DOCTYPE html>
<html lang="en-AU">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Sydney Plumbing Co — Emergency Plumbers</title>
  <meta name="description" content="24/7 plumbers across Sydney.">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <h1>Emergency plumbing, 24/7</h1>
  <p>Call <a href="tel:0291234567">(02) 9123 4567</a>.</p>
</body>
</html>

Save as index.html and open it in a browser. Use VS Code with the Live Server extension to see changes instantly.

Rating
0 0

There are no comments for now.

to be the first to leave a comment.