Connecting HTML button to another hosted file [closed] - html

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 days ago.
Improve this question
I think I have a basic HTML question..
How do you create a button that references and redirects to another file on the same page? Is this possible? I don’t want to create another website to redirect to..
I know how to do it locally on XAMPP, but don’t see it working when I’m hosting the files on a server.
P.S: All my files are in public_html folder. The main file index.php opens and has a button. I am trying to get it so that when you click this button, it will open another file called subscription.php. I try to reference in index.php in picture below to open it when clicked but doesn’t work

Related

My GitHub webpage isn't available on the web [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 20 days ago.
Improve this question
My GitHub page (https://visheshbons.github.io/cv/) isn't opening properly. All I get is this:
I tried deleting the repository and remaking it so it would come but it just gave me error 404 anyway.
Can you please give me some solutions?
Thanks.
My problems are solved for HTML code, but my CSS isn't there. Image-without-css
Thanks! My problem is solved!
You have to publish your website, from your repository settings, go to "Pages"
Then choose your branch and your root folder
then click on "Save" and wait for couple of minutes for your website to be published, then refresh the page to see your URL like this:

How make the HTML I took from another site show up properly? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 11 months ago.
Improve this question
I used inspect-element to change words and images on a website for a project and then saved the newly edited site as a file, but after working fine the first few times I ran it. The file started to show up weird. It originally looked like the linked Clickhole.com article that I've linked albeit with my modifications. And now shows up broken. So I was wondering how to make the file look right again.
It might be because the file was originally ran in on a Google-chrome laptop but doesn't know what to do trying to run on a Mac or Windows computer but I'm not sure.
How the edited code shows up
How it originally looked
You would need to download all the assets the HTML file is pointing to, like the images and style.css. Or you could add a base tag in the head element of the HTML file to make the website look for assets in the original.
<base href="https://clickhole.com/overstepping-her-bounds-j-k-rowling-has-announced-tha-1828826710/">

Background image not loading on web [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I have a website where it doesn't load the background images; however, it does load when I run it on my local host. Its only when I upload it to the web where it doesn't load. Not sure where the problem might be.
The problem is almost 100% in your image path.
I can't really help you untill I see the code, but one thing you can try is to add / in front of the folder and file names.
For example, if your image path on localhost is images/myImage.jpg, try to replace it with /images/myImage.jpg and see if it changes !

How to use images on my website from my computer [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I want to be able to use my pictures on my computer and put it into my html code .
I have done this but on my website it comes up as broken image.
How would I do it so that other people would be able to see the images on my website.
Thanks
First of you can't see your image without upload it.It's normal to see as a broken image.So you have to upload it.Filezilla will help you to upload it into your server.After you upload it change your local img path to server img path and it will fix your problem.No need to upload on the same folder but just upload it into your server

Add html/code in Magento HEADER [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am new to magento, so i have little knowledge about it. I want to Add an Image or Html Code at the Header of Magento.I want this (http://prntscr.com/8c5ens) one to be placed here (http://prntscr.com/8c5eyy) .Can AnyOne guide me how to do it ?
You need to find the html template file.
One way to do that it's enable Template Path and Block Name hints:
Login to Magento Admin panel
Go to System->Configuration.
The Template Path and Block name will only appear for current website. So change the Current Configuration Scope to ‘Main Website’.
Go to the Advanced section and click on Developers.
Expand the Debug tab.
Set the Template Path Hints to ‘Yes’.
Set the Block Name Hints to ‘Yes’.
Click on ‘Save Configuration’ button.
Open Magento user panel and see the template path hints. It shows each file where the page element is located in.
Another way it's find the code in whole project (intuition needed):
Open developers tools of browser.
Find some specific pieces of code, copy it and try to find it through the whole project.
Probably it should be somewhere in app/design/frontend/ path.