---
title: "Discussion on \"You can write whole website in just single web page.\" | Hashnode"
description: "Discussion on \"You can write whole website in just single web page.\". I'm using :target for creating this repo\nCSS\nsection {\n  display: none;\n}\n\nsection:target {\n  display: block;\n}\nHTML\n<a href=\"#home\">Home</a>\n<a href=\"#about\">About</a>\n\n<section id=\"home\">\nYou can create whole website just in single page.\n</section>..."
url: "https://hashnode.com/posts/you-can-write-whole-website-in-just-single-web-page/601959cb0394d00f62dc4678"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [You can write whole website in just single web page.](https://gauravnumber.hashnode.dev/you-can-write-whole-website-in-just-single-web-page?utm_source=hashnode&utm_medium=feed)

I'm using :target for creating this repo CSS section { display: none; } section:target { display: block; } HTML <a href="#home">Home</a> <a href="#about">About</a> <section id="home"> You can create whole website just in single page. </section>...

Feb 2, 2021 · 1 min read · gauravnumber.hashnode.dev  
Read the article

-   [#hashnode](https://hashnode.com/tag/hashnode)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#html5](https://hashnode.com/tag/html5)
-   [#css3](https://hashnode.com/tag/css3)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Gaurav Singh](https://hashnode.com/@gauravnumber)

@gauravnumber

  
[View profile](https://hashnode.com/@gauravnumber)

Enjoy learning programming

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
