HTML Anchor tag not working

Joined
Dec 15, 2020
Messages
1
Reaction score
0
Hello everyone, I am extremly new to coding and cannot get an anchor tag to work to connect my two documents would you be able to help

Coding for first page.

<head>
<title>My First Webpage</title>
<meta charset="UTF-8">
<meta name="description" content="This field contains information about your page. It is usually around two sentences long.">.
<meta name="author" content="Conor Sheils">
</header>
<h1>Welcome to My Page</h1>
<p>Welcome to <em>my</em> brand new website. This site will be my <strong>new<strong> home on the web.</p>
<a href="*folder(s)*/page2.html">Page2</a>


Coding for connecting page


<head>
<title>My First Webpage</title>
<meta charset="UTF-8">
<meta name="description" content="This field contains information about your page. It is usually around two sentences long.">.
<meta name="author" content="Conor Sheils">
</header>
<h1>Welcome to My Page</h1>
<p>Welcome to <em>my</em> brand new website. This site will be my <strong>new<strong> home on the web.</p>
<a href="http://www.google.com">Google</a>

All help is very much appreciated
 
Joined
Nov 13, 2020
Messages
302
Reaction score
38
I'm wondering why the use of asterisk and brackets. Just looks like an accident waiting to happen. Asterisks are reserved words in URLs. Oh it did happen.
<a href="page2.html">Page2</a> would work a lot better for you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,059
Latest member
cryptoseoagencies

Latest Threads

Top