HTML链接无法点击? (试过,尝试过,找不到任何理由)

时间:2014-11-02 18:58:26

标签: html hyperlink

我绝对是HTML,CSS和Javascript的新手,但是对于这个网页,有些链接是可点击的,有些则不是。我读到了内联和块元素,也许我错过了一些东西,但我无法弄清楚我在这里做错了什么。这些不是真正的链接,但你得到了一般的想法。标签中的最后两个链接有效,但前四个没有。下面是我认为的问题,但我还会在第一个片段之后包含其余的html。



<body>
   <p>| <a href="http://www.google.com">Exploring Computer Science</a> |
      | <a href="http://www.google.com">Computer Programming I</a> |
      | <a href="http://www.google.com">Computer Programming II</a> |</p>

	<p>
    	Students in the computer science major will study the design and operation of computer hardware and software by developing problem-solving skills and the 		ability     	to apply computational thinking to real-world problems. Focusing on programming and coding, ‘app’ and website development, robotics, cyber security, computer     	forensics and geographic information systems, students 
    	will be prepared for further study and the fast-paced world of 
    	technology. Work-based learning through mentoring, field trips 
    	and internships will allow students to showcase their education while gaining valuable experience. Participation in the Technology Student Association is     	encouraged.</p>


	<p> A major at <a href="http://www.google.com">schoolname</a></p>

	<br/>

	

	<img src="http://oi61.tinypic.com/2ip27b.jpg" align="middle" />


  	<br/><br/> 

	<span style="font-size:12px">Javascript code for animation provided by <a href="http://www.codeacademy.com">codeacademy</a> with the help of Google, Rob 	Hawkes, and 	Mark Brenig-Jones & Emile Petrone. <a href="http://www.tattoocanyon.com/97-yin-yang-tattoos/2460-yin-yang-koi-tattoo-by-tsukiohkami-design-art-	flash/">Koi 	design</a> image source. </span>
</body>
</html>
&#13;
&#13;
&#13;

&#13;
&#13;
<!DOCTYPE html>
<html>
<head>
<header>

	<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>

	<script type="text/javascript" src="http://s3.amazonaws.com/codecademy-content/courses/hour-of-code/js/alphabet.js"></script>

 	<canvas id="myCanvas"></canvas>

	<script type="text/javascript" src="bubbles.js"></script>

        <script type="text/javascript" src="main.js"></script>


	<link href="main.css" rel="stylesheet"  type="text.css" />


</header>
  
</head>
<body>
   <p>| <a href="http://www.google.com">Exploring Computer Science</a> |
   | <a href="http://www.google.com">Computer Programming I</a> |
   | <a href="http://www.google.com">Computer Programming II</a> |</p>

	<p>
    	Students in the computer science major will study the design and operation of computer hardware and software by developing problem-solving skills and the 		ability     	to apply computational thinking to real-world problems. Focusing on programming and coding, ‘app’ and website development, robotics, cyber security, computer     	forensics and geographic information systems, students 
    	will be prepared for further study and the fast-paced world of 
    	technology. Work-based learning through mentoring, field trips 
    	and internships will allow students to showcase their education while gaining valuable experience. Participation in the Technology Student Association is     	encouraged.</p>


	<p> A major at <a href="http://www.google.com">schoolname</a></p>

	<br/>

	

	<img src="http://oi61.tinypic.com/2ip27b.jpg" align="middle" />


  	<br/><br/> 

	<span style="font-size:12px">Javascript code for animation provided by <a href="http://www.codeacademy.com">codeacademy</a> with the help of Google, Rob 	Hawkes, and 	Mark Brenig-Jones & Emile Petrone. <a href="http://www.tattoocanyon.com/97-yin-yang-tattoos/2460-yin-yang-koi-tattoo-by-tsukiohkami-design-art-	flash/">Koi 	design</a> image source. </span>
</body>
</html>
&#13;
&#13;
&#13;

0 个答案:

没有答案