I want to know how to fix the browser address bar value.

Asked 2 years ago, Updated 2 years ago, 47 views

Hello!

I'm creating a site.

The main.html is a situation where only the data inside is different depending on the id value after ?.

There is index.html at the beginning.

With url visible only as index.html/a

I want to pass main.html?id=a.

First of all, the way I forced myself to think is

Create a folder called a on the same path as index.html, and create index.html in it

index I thought ... how to make it. / just blown away, and a html

This is a crazy way to get too much data.ㅠ<

I don't even know what to search for keywords, so I'm posting a question here.

Readers, if you have any good ideas or methods, please help!

html5 javascript

2022-09-22 18:32

1 Answers

What you're curious about is what you call routing.

Find and study your language with "Python Routing," "Java Routing," and "PHP Routing."


2022-09-22 18:32

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.