pls how can one link between html files,which of the code?assuming u want link from webpage1 to webpage2.thanx
linking
Started by kenex, Jan 22 2009 11:43 PM
24 replies to this topic
#1
Posted 22 January 2009 - 11:43 PM
|
|
|
#2
Posted 23 January 2009 - 01:54 AM
you mean a normal link? Write this in webpage1.html, ofcourse, replace webnage2.html with the correct name of the page, and the "link to page 2" with the text you want to make the link.
if you want to link to a totally different website, you simply do this:
<a href="webpage2.html">link to page 2</a>
if you want to link to a totally different website, you simply do this:
<a href="http://www.newdomain.com/webpage2.html">link to page 2</a>
#3
Posted 23 January 2009 - 10:16 AM
You may want to consider some CSS to make the links look more attractive, as the default blue ones are quite grotesque. Try this for a start:
[HIGHLIGHT=CSS]
a:link, a:visited
{
text-decoration: none;
color: *NORMAL LINK COLOUR HERE*;
}
a:hover
{
text-decoration: underline;
color: *HOVER LINK COLOUR HERE*;
}
[/HIGHLIGHT]
[HIGHLIGHT=CSS]
a:link, a:visited
{
text-decoration: none;
color: *NORMAL LINK COLOUR HERE*;
}
a:hover
{
text-decoration: underline;
color: *HOVER LINK COLOUR HERE*;
}
[/HIGHLIGHT]
#4
Posted 23 January 2009 - 06:49 PM
I asked the same question a couple days ago this must be a very popular topic lol
#6
Posted 12 February 2009 - 04:01 AM
#7
Posted 12 February 2009 - 04:51 AM
If you have any questions about HTML tags, visit w3schools website.
www.jarmalavicius.lt | www.github.com/reekenx | www.twitter.com/reekenx
#8
Posted 12 February 2009 - 08:42 AM
or why not post questions here at codecall, and we'll try to do our best to answer...
#9
Guest_Jordan_*
Posted 12 February 2009 - 10:49 AM
Guest_Jordan_*
No question is too simple. Post any that you have here and we will try to answer, as Orjan states.
#11
Posted 12 February 2009 - 12:48 PM
No, no questions are too simple. it's just a matter of attitude to new users, shall we chase them away with rude answers, or shall we care for them and maybe get them to become part of our community?
#12
Guest_Jordan_*
Posted 12 February 2009 - 12:49 PM
Guest_Jordan_*
I prefer the second option.


Sign In
Create Account


Back to top









