473,796 Members | 2,376 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help me validate my website!

Hello,

I really need help in validating my WordPress website/blog so it conforms
to the Web standards as defined by W3C.org.

My site is http://miladinoski.trap17.com and it fails with 10 errors on
the validation test :
[
http://validator.w3.org/check?uri=ht...Inline&group=0
]

Thanks!

Miladin
Sep 19 '08 #1
9 2359
In our last episode, <op.uhqu5io8qqf b7m@whiteeagle-laptop>, the lovely and
talented Miladin Miladinoski broadcast on
comp.infosystem s.www.authoring.html:
Hello,
I really need help in validating my WordPress website/blog so it conforms
to the Web standards as defined by W3C.org.
My site is http://miladinoski.trap17.com and it fails with 10 errors on
the validation test :
[
http://validator.w3.org/check?uri=ht...Inline&group=0
]
I do not understand the problem. The validator messages are clear and
concise. Some of these lines, however, can be the result of previous errors,
so start by closing the link element, and validate again.
--
Lars Eighner <http://larseighner.com/us****@larseigh ner.com
Good Morning, Carnivore! - Anthrax botulin nuclear flight mail Akbar reservoir
Ramadan letter activate bridge Abdul safehouse virgins money detonators Allah
smallpox Glaspie Springfield agent airport dispersal facility counterfeit
Sep 19 '08 #2
Lars Eighner wrote:
In our last episode, <op.uhqu5io8qqf b7m@whiteeagle-laptop>, the lovely and
talented Miladin Miladinoski broadcast on
comp.infosystem s.www.authoring.html:
>Hello,
>I really need help in validating my WordPress website/blog so it conforms
to the Web standards as defined by W3C.org.
>My site is http://miladinoski.trap17.com and it fails with 10 errors on
the validation test :
[
http://validator.w3.org/check?uri=ht...Inline&group=0
]

I do not understand the problem. The validator messages are clear and
concise. Some of these lines, however, can be the result of previous errors,
so start by closing the link element, and validate again.

Perhaps the OP's problem is that he wants to fix errors created by Word
Press using Word Press. He needs to open the HTML file in a text editor
and manually fix the errors.

--
Ed Mullen
http://edmullen.net
Beauty is in the eye of the beer holder.
Sep 20 '08 #3
On 19 Sep, 21:59, "Miladin Miladinoski" <i.am.afr...@fr om.spamwrote:
Hello,

I really need help in validating my WordPress website/blog so it conforms*
to the Web standards as defined by W3C.org.

My site ishttp://miladinoski.tra p17.comand it fails with 10 errors on *
the validation test :
[ *http://validator.w3.org/check?uri=ht...trap17.com...*
]
The first error ("Line 295, Column 289: end tag for "link" omitted,
but OMITTAG NO was specified .") is pointing to this line:

<link media="screen" type="text/css" href="http://
miladinoski.tra p17.com/wp-content/plugins/reply-w-comment-preview/css/
at-reply.css" rel="stylesheet ">

The tag should be closed with ' />'.

This error is generated by the 'reply-w-comment-preview' plug-in on
line 35.
Sep 20 '08 #4
On Sat, 20 Sep 2008 05:44:18 +0200, Roy A. <ro*********@gm ail.comwrote:
The first error ("Line 295, Column 289: end tag for "link" omitted,
but OMITTAG NO was specified .") is pointing to this line:

<link media="screen" type="text/css" href="http://
miladinoski.tra p17.com/wp-content/plugins/reply-w-comment-preview/css/
at-reply.css" rel="stylesheet ">

The tag should be closed with ' />'.

This error is generated by the 'reply-w-comment-preview' plug-in on
line 35.
OK, thanks very much, after fixing that error (which i didn't knew which
fault is it sorry for my newbieness) 3 errors have dissapeared, but now I
need help with the last 4 ones. To me it seems that they are fine, but I'm
obviously not an expert and need help in what do I need to edit so they
dissapear.

Thanks!

Miladin

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Sep 20 '08 #5
On 2008-09-20, Miladin Miladinoski <i.*********@fr om.spamwrote:
OK, thanks very much, after fixing that error (which i didn't knew which
fault is it sorry for my newbieness) 3 errors have dissapeared, but now I
need help with the last 4 ones. To me it seems that they are fine, but I'm
obviously not an expert and need help in what do I need to edit so
they dissapear.
You might be better off creating your web page 'by hand' rather than
having software generate it for you. Some of the html looks a little
chaotic :-).

Next error:

#v+
Line 376, Column 24: document type does not allow element "style" here.

<style type='text/css'>
#v-

refers to:

#v+
<style type='text/css'>
.gallery {
margin: auto;
}
.gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 33%;}
.gallery img {
border: 2px solid #cfcfcf;
}
.gallery-caption {
margin-left: 0;
}
</style>
#v-

Which, when written in this fashion, should be in the head rather than
the body. Having said that you would be better served by placing all the
styles as _external_ css.

Andrew

--
Do you think that's air you're breathing now?
Sep 20 '08 #6
On 20 Sep, 10:05, "Miladin Miladinoski" <i.am.afr...@fr om.spamwrote:
On Sat, 20 Sep 2008 05:44:18 +0200, Roy A. <royarnes...@gm ail.comwrote:
The first error ("Line 295, Column 289: end tag for "link" omitted,
but OMITTAG NO was specified .") is pointing to this line:
<link media="screen" type="text/css" href="http://
miladinoski.tra p17.com/wp-content/plugins/reply-w-comment-preview/css/
at-reply.css" rel="stylesheet ">
The tag should be closed with ' />'.
This error is generated by the 'reply-w-comment-preview' plug-in on
line 35.

OK, thanks very much, after fixing that error (which i didn't knew which *
fault is it sorry for my newbieness) 3 errors have dissapeared, but now I*
need help with the last 4 ones. To me it seems that they are fine, but I'm *
obviously not an expert and need help in what do I need to edit so they *
dissapear.
I don't have WordPress, but it seems to be an error in 'media.php'. It
inserts a style
element in the document body. It is suggested that you copy the css
content from
media.php into your style.css (line 373). Line 412 is said missing an
end slash. I
don't know, look at this (just skip the comment to Dickie):

http://wordpress.org/support/topic/164825

Here is the style you're looking for:

<style type='text/css'>
..gallery {
margin: auto;
}
..gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 33%; }
..gallery img {
border: 2px solid #cfcfcf;
}
..gallery-caption {
margin-left: 0;
}
</style>
Sep 20 '08 #7
In our last episode, <op.uhrsq1wgqqf b7m@whiteeagle-laptop>, the lovely and
talented Miladin Miladinoski broadcast on
comp.infosystem s.www.authoring.html:
On Sat, 20 Sep 2008 05:44:18 +0200, Roy A. <ro*********@gm ail.comwrote:
>The first error ("Line 295, Column 289: end tag for "link" omitted,
but OMITTAG NO was specified .") is pointing to this line:

<link media="screen" type="text/css" href="http://
miladinoski.tr ap17.com/wp-content/plugins/reply-w-comment-preview/css/
at-reply.css" rel="stylesheet ">

The tag should be closed with ' />'.

This error is generated by the 'reply-w-comment-preview' plug-in on
line 35.
OK, thanks very much, after fixing that error (which i didn't knew which
fault is it sorry for my newbieness) 3 errors have dissapeared, but now I
need help with the last 4 ones. To me it seems that they are fine, but I'm
obviously not an expert and need help in what do I need to edit so they
dissapear.
Just working from memory here:

You ran the a tag into attributes a couple of times. Use search to
check for <atitle and <ahref (you must have a space after the <a ).
You did the same with <imgsrc which must be changed to <img src.
You put a style element in the body of your document. It must be moved to
the head or removed altogether. Along about line 529 or thereabouts
you opened a paragraph, had a script and then opened paragraph again.
You cannot have a paragraph in a paragraph, so you must eliminate one of the
paragraph opens or you must close the first one before you open the second.

That's all I can remember, but if there are still problems after that, I'll
look at it again.
--
Lars Eighner <http://larseighner.com/us****@larseigh ner.com
Health is merely the slowest possible rate at which one can die.
Sep 20 '08 #8
On 20 Sep, 10:54, "Roy A." <royarnes...@gm ail.comwrote:
I don't have WordPress, but it seems to be an error in 'media.php'. It
inserts a style
element in the document body. It is suggested that you copy the css
content from
media.php into your style.css (line 373). Line 412 is said missing an
end slash. I
don't know, look at this (just skip the comment to Dickie):

http://wordpress.org/support/topic/164825
I downloaded WordPress 2.5.2, but nothing matches. The link is about
"WordPress version: 2.5". It's an error in the core,
and still not fixed. You could try to write an plug-in like Dickie is
suggesting, but even the core code is a mess. A found the style code
in "wp-includes/media.php" (on line 426), but by simply removing that
an return an empty variable to the $output variable, you're taking
away a feature.

A couple of lines below (the if sentence on line 460) i found this
snippet:

<br style="clear: both" />

Well, that's well formed, but not valid. The clear property applies
only to block-level elements, not inline text-level elements like the
'br' element. To be valid they should have used a block-level element
or (in an transitional document) the deprecated 'clear' attribute <br
clear="both" />.

With a lot of work you could manage to make it well formed, but it
would still not be valid. I think you would have to let it go, and
live with it. And I think it would be better in the long run to just
report the bugs and join their community.

http://wordpress.org/support/
Sep 20 '08 #9
On 2008-09-20, Roy A. <ro*********@gm ail.comwrote:
[...]
><br style="clear: both" />

Well, that's well formed, but not valid. The clear property applies
only to block-level elements, not inline text-level elements like the
'br' element.
I think technically it's still valid-- using styles that don't apply
just means they don't apply.

CSS isn't exactly valid or invalid in the same way HTML is, but it can
have errors in it, but clear: both isn't an error whatever you set it
on.

You are right clear is only supposed to apply to block-level elements
since CSS 2.1, but all browsers make an exception for <brI suppose
since to treat <br clear="left"dif ferently from <br style="clear:
left"would just be confusing.
Sep 20 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
2532
by: Martin Euredjian | last post by:
I could use a shove in the right direction... I'm using the Dreamweaver MX suite to build a website for my business. At first I threw something together quickly just to get going. I now need to replace that with something more refined. It seems that using PHP would be a part of that. I quickly learned that frames are problematic. I'm also reading that using tables (for layout) isn't the best idea either. And, then, PHP and DHTML
2
1319
by: Enjoy Life | last post by:
Is there a program or website that will validate my asp pages? Kind of like how html pages can be validated on http://www2.imagiware.com/RxHTML/ and on http://netmechanic.com/ Thanks.
2
3237
by: mike | last post by:
Hello, I created a website with a ilayer tag which is only good for netscape. And the problem that I am having is that I want to validate my website. Of course this will not work because I have a ilayer tag which is not exceptiable to the w3. From what I have heard is that it is possible to create a ilayer as a css. I was wondering does anyone have a example on how to do this. Here is the code I have: <table width=468 border=0...
6
1468
by: Unknown User | last post by:
I have been increasingly allergic to table web sites lately, and I'm concerned for my health. Basically these are the symptoms: - Each time I visit a web site, I need to view the source to see if there is no table, if there is, I can't keep going. - If there is no table, I need to validate the page to see if it is a standard-compliant page. If it doesn't validate, I need to hit the back button. - If the page is designed without tables,...
3
3383
by: MJ | last post by:
For some reason the following script does not work in Netscape/Mozilla, but works fine in IE and Opera. It is supposed to check the syntax, make sure there is a valid TLD (yes, those are all of the current TLDs), and allow for addresses with or without trailing slashes or page addresses. Anybody have any ideas on how to get this to work in Netscape? I suspect it has something to do with the regular expression, but I can't get it to...
6
4434
by: LesleyW | last post by:
Hi Apologies if this is a really dumb question, but being new to XML and Schemas, I wonder if giving the namespace for eg xsd or xsi as a website address means that the user has to be online when they run the app? If so, what should I do if I can't guarantee that they will be? Can I bring all these files into the app? Is that desirable? I'm about to write an app that takes an XML file as input, using Visual Studio 2005 Express and SQL...
2
1567
by: archana | last post by:
Hi all, I want to send webrquest throguh anonymous proxy. Can anyone tell me how to validate ip address and port number of anonynmous proxy server. Is it using TctpClient class ? And while sending request through anonymous proxy if ip address of that
26
25620
by: webrod | last post by:
Hi, I have some php pages with a lot of HTML code. I am looking for a HTML validator tool (like TIDY). TIDY is not good enough with PHP tags (it removes a lot of php code). Do you have any idea? Thanks you very much
0
1384
by: josh | last post by:
HI I'm new to .asp and vbscript and I need to validate a form before it is emailed to me. I don't really understand what email functionality I have on the server (and the tech support might get back to me in about 10 years). Right now all the current forms are e- mailed using a method="post" action="http://www.website.com/cgi-bin/ mail?user@website.com", but I do not have any access to the script that is e-mailing the form data. What I...
0
10455
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10173
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9052
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7547
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6788
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4116
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3731
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.