Aleks
asked on
How to order the tags ?
Simple example. I have the following code:
I get this error:
Unexpected start tag
File: webaccess_SPadd.asp, Line: 68, Column: 1
This is in the <head> tag ... how should it be ordered so not to have that error ?
If I add <html> just above then I get an error saying the document has to html tags.
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html>
<!--#BlueDot Include files-->
<!--#include file="../../Connections/bluedot.asp" -->
<!--#include file="../../includes/bdot/attysessiontimeoutvb2.asp"-->
<!--#include file="../../includes/bdot/scripts.asp"-->
<!--#BeginBlock-->
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body>
</body>
</html>
I get this error:
Unexpected start tag
File: webaccess_SPadd.asp, Line: 68, Column: 1
This is in the <head> tag ... how should it be ordered so not to have that error ?
If I add <html> just above then I get an error saying the document has to html tags.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Curious. Where is the start HTML tag?
ASKER
It seems the culprit is in this include file:
<!--#include file="../../includes/bdot/ scripts.as p"-->
Moving that file inside the <head> fixed the issue. Thanks for pointing it out.
<!--#include file="../../includes/bdot/
Moving that file inside the <head> fixed the issue. Thanks for pointing it out.
good catch Shaun, unless it's located in one of the include files, they need to add one under the DocType specification
ASKER
I was getting an error of two html tags if I added it. Now that I have moved the script I was able to add it.
just for my own intellectual curiosity, I don't quite understand you're explanation, can you elaborate? what did you move?
ASKER
One of the include files, it was at the top. I moved it inside the 'head' , they were scripts.
The ones at the top are connections. So the scripts were causing the issue because those belong inside the 'head'
The ones at the top are connections. So the scripts were causing the issue because those belong inside the 'head'
gotcha, thx for clearing that up :)