I got an error when putting in a title tag not sure why its saying this.
Line 15, Column 7: Element title not allowed as child of element head in this context. (Suppressing further errors from this subtree.)
<title>IOG Products, LLC</title>
Contexts in which element title may be used:
In a head element containing no other title elements.
Content model for element head:
If the document is an iframe srcdoc document or if title information is available from a higher-level protocol: Zero or more elements of metadata content, of which no more than one is a title element and no more than one is a base element.
Otherwise: One or more elements of metadata content, of which exactly one is a title element and no more than one is a base element.
You didnāt show to the closing head tag so there may be another title tag. i.e. <title>IOG Products, LLC</title>
does not look like <title>IOG Products - Impact Indicators, Impact Recorders, Temperature Recorders, Tilt Indicators</title>
You need to remove one or the other if you want it to validate. If you really want to improve your SEO you should clean these up too
<meta name="description" content="IOG products are used throughout the production process and during the journey to the ultimate end-user. By attaching our monitors to your shipment it enables you to take more control of your product during transit and helps to reduce your risk by keeping track of them every step of the way. " />
<meta name="keywords" content="IOG Products, transporation monitoring systems, omni-g, impact recorder m series, impact recorder, protect-a-pak, single use tilt indicator, tilt indicator, digital impact recorder, data recorder, single use shock recorder, impact-o-graph, IOG" />
I donāt know ASP so I donāt know what that does. 100% confident that your second title tag is there though (or later on in your code that you excluded.)
Yes I took that one off alreadyā¦but now im getting this errorā¦which is an empty title tag that I dont see in any of my files based on the page source.
Error Line 31, Column 7: Element title not allowed as child of element head in this context. (Suppressing further errors from this subtree.)
<title>
Weāve gone over this. Your ASP code is hiding the title tag. You STILL(!!!) have two title tags.
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-41887506-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<title>
</title></head>
Do you know how to view the HTML source in your web browser (e.g. the rendered output that validators are using?) I do not believe you understand this.