Home

| By Greg Fisher

Minimalist web page essential code

Get these two lines into your <head>

For a minimalist web page, until the browsers catch up (and viewport can be controlled in an external CSS stylesheet), use these two lines in the html code head:

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style> body { max-width: 30em } </style>

View the source of this web page to see an example.