Close this search box.

Why you should always check your equipment ...

- Ahahah it's not possible I passed the code to the w3c validator!
- However, it tells me that some of the tags are not closed, some <td>
- They had to touch the code with their character, I tell you that the w3c says nothing!

Small slice of life of Badsender between me and a certain Marion M. (whose anonymity will be preserved).

Until yesterday I was sure of the tools that have a good reputation. I always check my html code with some tools. But now I have to check the tools that check my code!
I code on Dreamweaver, which when we forget some things, changes the color code. Then once the input is done, I pass it to the w3c validator ( And finally I test on Emailonacid.
In principle it does it !!!

2 tools out of 3 are gone through. And the main one too: Bibi in front of the screen...

Here is a piece of the code in question:

<html lang="fr" xmlns:o="urn:schemas-microsoft-com:office:office">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="viewport" content="width=device-width" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="x-apple-disable-message-reformatting" />
<title>Test Badsender</title>
<body bgcolor="#eeeeee" style="margin:0px; padding:0px; background-color:#eeeeee;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="width:100%; margin:0px auto;" align="center" role="presentation">
	    <td align="center" bgcolor="#eeeeee">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:0px auto;" align="center" role="presentation">
                      <td class="paddingb20px" style="padding:15px 20px 30px;" bgcolor="#FFFFFF"><h1 class="fs20px" style="margin:0px; padding:0px; font-family:Arial, Helvetica, sans-serif; color:#ff0000; font-size:28px; text-align:center; mso-line-height-rule:exactly; line-height:26px; font-weight:bold;">The td is not closed</h1>

It is clear that the <td> is not closed behind of </h1>

- The code is not colored on Dream :

Need help?

Reading content isn't everything. The best way is to talk to us.

- No closing message from <td> on w3c validator :

He releases his usual little stream to us.

After several attempts to adjust the Dream validator, several tests of online validators I came across this little beauty:
And then he detects a problem:

I complete the </td> to the right line and revalidate:

Well, what to learn from this experience:
1- Always doubt and the customer is right!
2- Test and check even your most trusted tools in various situations to avoid any inconvenience.

Hence the philosophical conclusion if you want to be sure of yourself:
"If man does not shape his tools, his tools will shape him."

The author

One Response

Laisser un commentaire

Your email address will not be published. Les champs obligatoires sont indiqués avec *