<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d458238135907614700\x26blogName\x3dMary\x27s+NET11+Blog\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://net-studies.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://net-studies.blogspot.com/\x26vt\x3d-8627547258479053563', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Mary's NET11 Blog

This blog is in the form of a 'learning log' for my online studies @ Curtin for NET11.

Module 3: Validating my web page

Wednesday, April 11, 2007

I tried to validate my webCT student page (found in the student presentations area) using the W3C Markup Validation Service.

I first encounted 7 errors, these were easily identified and fixed by closing some tags, and making sure everthing was nested properly.

The next 2 errors I encounted were solved by removing the /> from the end of my declarations in the head of my page, and replacing them with just >

The final problem I am left with is as follows;


Namespace Found in non-XML Document
Namespace ""
found,
but document type is not XML!

Byte-Order Mark found in UTF-8
File.
The Unicode
Byte-Order Mark (BOM) in UTF-8 encoded files
is known to cause problems for some
text editors and older browsers. You may
want to consider avoiding its use until
it is better supported.

I got this page to validate earlier (before I added meta-tags) so I'm guessing the remaining errors are due to me incorrectly declaring something in my meta tags.

- Mary

Labels:

leave a comment