# Include partials
It's common to have parts of a website (like a menu) present on all sub pages. This partials could be inserted as `HTML` code into every `.html` file directly or inserted with a link to that file.
## Insert code by hand
`index.html`
```html
Responsive Sidenav Example
This example use media queries to transform the sidenav to a top navigation bar when the screen size is 900px or less.
We have also added a media query for screens that are 400px or less, which will vertically stack and center the navigation links.
You will learn more about media queries and responsive web design later in our CSS Tutorial.
Resize the browser window to see the effect.
```
`news.html`
```html
Responsive Sidenav Example
This example use media queries to transform the sidenav to a top navigation bar when the screen size is 900px or less.
We have also added a media query for screens that are 400px or less, which will vertically stack and center the navigation links.
You will learn more about media queries and responsive web design later in our CSS Tutorial.
Resize the browser window to see the effect.
```
Nothing changes except that the menu is replaced by the line
```php
```
which will load the code from `menu.php` into that location of `index.php`.