Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help! this html code does not work

 
erich brant
Ranch Hand
Posts: 246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am writing a tutorial on html to teach myself html since
it forces me to write and understand tons of code!
Well I hit a stump! and I am stuck! I rewrote and reread this
html code 10x and cannot figure out what is wrong with it!
so I need some help!
////////////////////////////////////

<html>
<!------- internal hyperlinks within the same webpage---------->
<!-------something is wrong with this code?----------->
<head>
<title> welcome to www.firewallfortress.com</title>
</head>
<body>
<center>
<a name = "favorite games"></a>
<h3><u> favorite games on the web</u></h3>
<h3> < a href = "#3D games"> go to <em> 3D games</em></a></h3>
</center>
<ul>
<Li> My favorite games are:
<li> list here:
<ul>
<li> 3d Games
<ul>
<li> New Doom
<li> Return to castle wolfenstein
</ul>
</ul>
</ul>
<a name = "3D games" ></a>
<center><h2> 3D games <em> 3D games</em></h2>
<h3><a href = "#favorite games" > go to <em> favorite games</em></a>
</h3> </center>
<ol>
<li> Doom
<li> wolfenstein
</ol>
</body>
</html>
 
ARS Kumar
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

If you are talking about the problem in
<h3> <a href="#3D games"> go to <em> 3D games</em></a></h3>, I just retyped the same and it worked.
As far as I know, there is nothing wrong in this line.
Any comments ?


------------------
Regards
ARS Kumar
Sun Certified Java 2 Programmer.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess the problem you are loking for is the extra space character after the "<" and before the "a" in that line. Removing it turns it back into a regular link.
 
Speedy Poo
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I tried this code it worked just fine as it was.
 
Speedy Poo
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I tried this code it worked just fine as it was.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic