473,387 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Basic HTML? End tag 'head' does not match the start tag 'link'.

I have posted this also in the XML forum, as the code below actually came from an XML doc, but I think it's a basic HTML issue:

Original post
I am an IT consultant, but I work entirely on the hardware and networking side of things. I don't work with much (any) code. So most of what you guys do within this forum may as well be in Chinese. But I've got an issue that I hope you might help me resolve:

I've got a problem in front of me- a program that upon startup throws an error:

End tag 'head' does not match the start tag 'link'.

I believe I've narrowed the problem down to a file called updateversion.xml

Code for that file is here:


[code]
<html>
<head>
<title>Internet Usage Terms and Conditions</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css.php?color=000000" rel="stylesheet" type="text/css">
</head>
<iframe name="header" marginwidth=0 marginheight=0 scrolling="no" frameborder="0" width="855" height="40" src="welcome_head.php?res=notyet&uamip=192.168.182 .1&uamport=3990&challenge=84fa96bbc24a062090d00bd7 2b338265&userurl=&nasid=634&mac=00-1F-3A-1E-C7-00"></iframe>
<iframe name="main" marginwidth=0 marginheight=0 scrolling="no" frameborder="0" width="1000" height="1500" src="welcome_main.php?res=notyet&uamip=192.168.182 .1&uamport=3990&challenge=84fa96bbc24a062090d00bd7 2b338265&userurl=&nasid=634&mac=00-1F-3A-1E-C7-00"></iframe>
</html>
[code]

I hope I posted that code correctly and I don't get kicked out of this forum. :) If anyone here has an answer, I'll be most appreciative.

Thanks,

Jake
Montana, USA
Mar 17 '08 #1
3 4873
nomad
664 Expert 512MB
I have posted this also in the XML forum, as the code below actually came from an XML doc, but I think it's a basic HTML issue:

Original post
I am an IT consultant, but I work entirely on the hardware and networking side of things. I don't work with much (any) code. So most of what you guys do within this forum may as well be in Chinese. But I've got an issue that I hope you might help me resolve:

I've got a problem in front of me- a program that upon startup throws an error:

End tag 'head' does not match the start tag 'link'.

I believe I've narrowed the problem down to a file called updateversion.xml

Code for that file is here:


[code]
<html>
<head>
<title>Internet Usage Terms and Conditions</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css.php?color=000000" rel="stylesheet" type="text/css">
</head>
<iframe name="header" marginwidth=0 marginheight=0 scrolling="no" frameborder="0" width="855" height="40" src="welcome_head.php?res=notyet&uamip=192.168.182 .1&uamport=3990&challenge=84fa96bbc24a062090d00bd7 2b338265&userurl=&nasid=634&mac=00-1F-3A-1E-C7-00"></iframe>
<iframe name="main" marginwidth=0 marginheight=0 scrolling="no" frameborder="0" width="1000" height="1500" src="welcome_main.php?res=notyet&uamip=192.168.182 .1&uamport=3990&challenge=84fa96bbc24a062090d00bd7 2b338265&userurl=&nasid=634&mac=00-1F-3A-1E-C7-00"></iframe>
</html>
[code]

I hope I posted that code correctly and I don't get kicked out of this forum. :) If anyone here has an answer, I'll be most appreciative.

Thanks,

Jake
Montana, USA
Hello Jake.
I see a couple of errors
you have <link href="css.php?
should read <link href="css.php"

you have <iframe name="header" marginwidth=0 marginheight=0 scrolling="no" frameborder="0" width="855" height="40" src="welcome_head.php?

should read <iframe name="header" marginwidth=0 marginheight=0 scrolling="no" frameborder="0" width="855" height="40" src="welcome_head.php"


you have <iframe name="main" marginwidth=0 marginheight=0 scrolling="no" frameborder="0" width="1000" height="1500" src="welcome_main.php?

should read as
<iframe name="main" marginwidth=0 marginheight=0 scrolling="no" frameborder="0" width="1000" height="1500" src="welcome_main.php"

note typical iframe looks like this
[HTML]<iframe src="abc.php" name="test" width="200" height="78" scrolling="no"></iframe>[/HTML]

Hope that help you
nomad
PS make sure you have spaces between each field
Mar 17 '08 #2
drhowarddrfine
7,435 Expert 4TB
I have to run out for a while but the error is probably caused by running html through an xml parser. What this means is XML is always looking for closing tags, such as <head></head>. The link element in html has no closing tag so it throws the error.
Mar 17 '08 #3
Thank you for your help, guys- turns out the developer had included wrong file entirely. Thanks for listening. :)
Mar 18 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Mitch | last post by:
I have some simple HTML I'm trying to read with the XMLTextReader. As in the MSDS examples, I set up a loop to read each XML node: while (reader.Read()) { switch (reader.NodeType) { case...
4
by: cody | last post by:
I have the following feed which I want to convert to html: http://www.heise.de/newsticker/heise.rdf but it does not work, I only see the html elements empty as if it found no elements in the xml...
82
by: Eric Lindsay | last post by:
I have been trying to get a better understanding of simple HTML, but I am finding conflicting information is very common. Not only that, even in what seemed elementary and without any possibility...
0
by: JT | last post by:
Hi, I've just realized that I'm not as smart as I thought I was. I have no problem creating Windows apps, class libraries, using windows references, etc. But, I absolutely cannot create and...
7
by: Xah Lee | last post by:
Summary: when encountering ex as a unit in css, FireFox (and iCab) did not take into account the font-family. Detail: http://xahlee.org/js/ff_pre_ex.html Xah xah@xahlee.org ∑...
17
by: =?Utf-8?B?Y2F0aGFyaW51cyB2YW4gZGVyIHdlcmY=?= | last post by:
Hello, I have build a website with approximately 30 html-pages. When I search this website in Google, I see the index.html or home.html on this website, but also other html-pages on this...
1
by: Priya27 | last post by:
XML parser error: End tag ‘HEAD’ does not match the start tag ‘LINK’ How to resolve this error in VPN environment
8
by: delcov | last post by:
I am trying to learn XML and interacting w/ C# and ASP.NET forms. I am not getting the output I expect, and wanted to pose that question of "why" to the group here. My XSLT: <?xml...
6
Atli
by: Atli | last post by:
This is an easy to digest 12 step guide on basics of using MySQL. It's a great refresher for those who need it and it work's great for first time MySQL users. Anyone should be able to get...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.