Wrox Programmer Forums
|
BOOK: HTML5, JavaScript and jQuery 24-Hour Trainer
This is the forum to discuss the Wrox book HTML5, JavaScript and jQuery 24-Hour Trainer by Dane Cameron; ISBN: 978-1-119-00116-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: HTML5, JavaScript and jQuery 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 27th, 2016, 02:11 PM
Registered User
 
Join Date: Jan 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Anchor not closing correctly

I am working through chap 4 and have added a table in the body of the page. In the head of the page, I have a link contained within <a and /a>

I even tried putting the link in <p> </p> tags to completely contain it, but this gave the same results. The table is showing up with the link. Everything in the table is hyperlinked. See code below.

Any ideas would be appreciated.

Code:
<!DOCTYPE html>
<!-- Comment 
		 -->
<html lang="en">
<head>
<meta charset="utf-8">
<title>
MSEAcademics.com 
</title>
<p>Visit us at <a href="http://www.mseacademics.com/">MSEAcademics.com</a>
	<a href="http://www.mseacademics.com/">
		<img 
		src="../MSE_3_Colors.jpg" 
		title = "MSE Tutoring"
		width = "150"
	</a>
	</p>
</head>
	<body>

	<table> 
	<thead>
		<tr>
			<th>Last Name</th>
			<th>First Name</th>
			<th>Cell Ph</th>
			<th>Home Ph</th>
			<th>Email</th>
			<th>Company</th>
			<th>Last contacted on</th>
		</tr>
	</thead>
	<tbody>
	<tr>
		<td>Smith</td>
		<td>William</td>
		<td>555-642-7371</td>
		<td></td>
		<td>[email protected]</td>
		<td>ACME Industries</td>
		<td>10-21-2014</td>
	</tr>
	<tr>
		<td>Morris</td>
		<td>Bob</td>
		<td>555-999-2991</td>
		<td></td>
		<td>[email protected]</td>
		<td>ABC Corp</td>
		<td>9-12-2014</td>
	</tr>
	</tbody>
	<tfoot>
		<tr>
		<td colspan = "7" >3 contacts displayed </td>
		<!-- ^^ this allows it to span across all 7 columns ^^ -->
		</tr>
	</tfoot>
	</tfoot>
	
	</table>
	</body>
</html>
 
Old May 27th, 2016, 10:54 AM
Registered User
 
Join Date: May 2016
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think you missed closing for your image.
 
Old June 1st, 2016, 08:44 AM
Registered User
 
Join Date: May 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Anhor text

You missed the image closing bracket.

Last edited by AndrewP; June 1st, 2016 at 08:47 AM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch. 9 Anchor zavodney BOOK: Visual Basic 2010 Programmer's Reference 2 November 1st, 2011 02:05 PM
image as anchor handoyo BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 4 October 9th, 2009 11:03 AM
Anchor Tag kapilmirchi ASP.NET 1.0 and 1.1 Basics 2 November 18th, 2008 05:57 AM
anchor and get variables. SignalFade Beginning PHP 4 January 19th, 2006 08:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.