This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-06-03 23:26:46

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

HTML errors on this site

I found out about the W3C validator a while ago, and have recently been running it on some of my favorite sites.

I ran it on this site, and found a lot of errors (56 errors, 35 warnings).

See http://validator.w3.org/check?uri=http% … ator%2F1.3
It appears that part of the problem is that since this site uses HTML 4 Strict, you can't close self-close tags (i.e. <br> instead of <br/>).

At some point, the website developers should work on fixing these.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#2 2012-06-03 23:31:18

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: HTML errors on this site

Even though this goes off into a more advanced topic, I think it should belong in Bugs and Glitches. I'm not really sure though  tongue

Offline

 

#3 2012-06-03 23:37:37

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: HTML errors on this site

chanmanpartyman wrote:

Even though this goes off into a more advanced topic, I think it should belong in Bugs and Glitches. I'm not really sure though  tongue

It could be either. HTML is an advanced topic, but this is also a bug/glitch.

Edit: I wonder if there's a way this topic can be in both.  tongue

Last edited by jvvg (2012-06-03 23:37:53)


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#4 2012-06-03 23:44:42

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: HTML errors on this site

jvvg wrote:

chanmanpartyman wrote:

Even though this goes off into a more advanced topic, I think it should belong in Bugs and Glitches. I'm not really sure though  tongue

It could be either. HTML is an advanced topic, but this is also a bug/glitch.

Edit: I wonder if there's a way this topic can be in both.  tongue

But they delete duplicates  tongue  So many rules...

Offline

 

#5 2012-06-03 23:49:08

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: HTML errors on this site

Wait, you can't just write </br>?


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#6 2012-06-04 00:37:49

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: HTML errors on this site

jji7skyline wrote:

Wait, you can't just write </br>?

Yeah... I think. It probably does, but I'm going to try

Code:

<html>
<head><title>Line Break</title>Test</head>
<body>
<p>Hello</br>World!</p>
</body>
</html>

EDIT: Yep, it works  tongue

Last edited by chanmanpartyman (2012-06-04 00:38:45)

Offline

 

#7 2012-06-04 09:58:08

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: HTML errors on this site

chanmanpartyman wrote:

jji7skyline wrote:

Wait, you can't just write </br>?

Yeah... I think. It probably does, but I'm going to try

Code:

<html>
<head><title>Line Break</title>Test</head>
<body>
<p>Hello</br>World!</p>
</body>
</html>

EDIT: Yep, it works  tongue

It may work, but I don't think it's valid.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#8 2012-06-04 10:02:53

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: HTML errors on this site

jvvg wrote:

chanmanpartyman wrote:

jji7skyline wrote:

Wait, you can't just write </br>?

Yeah... I think. It probably does, but I'm going to try

Code:

<html>
<head><title>Line Break</title>Test</head>
<body>
<p>Hello</br>World!</p>
</body>
</html>

EDIT: Yep, it works  tongue

It may work, but I don't think it's valid.

It's not valid.  That's horrible form.

Code:

<html>
<head>
<title>Line Break Test</title>
</head>

<body>
<p>Line<br />Break<br />Test<br />=D</p>
</body>
</html>

Edit: lol... my javascript and css kills the validator.

Edit #2: my forums look O.K, though.

Last edited by GeonoTRON2000 (2012-06-04 10:09:51)


http://i.imgur.com/BAEgGDL.png

Offline

 

#9 2012-06-04 10:04:19

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: HTML errors on this site

That bottom one is valid in XHTML (if you add doctype and xml namespace), but not in HTML 4 Strict.
Also, you have to open a tag before closing it, so yes, that top one is horrible form.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#10 2012-06-04 10:22:12

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: HTML errors on this site

You realise that the entire site is being redesigned at the moment, ready for the release of 2.0 in a few months?  smile  I'm going to more this over to bugs and glitches since I think it's better suited over there!


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#11 2012-06-04 10:38:01

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: HTML errors on this site

sparks wrote:

You realise that the entire site is being redesigned at the moment, ready for the release of 2.0 in a few months?

I hope the new site meets HTML/XHTML standards.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#12 2012-06-04 12:43:24

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Re: HTML errors on this site

sparks wrote:

You realise that the entire site is being redesigned at the moment, ready for the release of 2.0 in a few months?  smile  I'm going to more this over to bugs and glitches since I think it's better suited over there!

they said that two years ago.


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#13 2012-06-04 13:54:37

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: HTML errors on this site

XenoK wrote:

sparks wrote:

You realise that the entire site is being redesigned at the moment, ready for the release of 2.0 in a few months?  smile  I'm going to more this over to bugs and glitches since I think it's better suited over there!

they said that two years ago.

This time, they actually showed us a milestone of the new website, though.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#14 2012-06-04 16:27:08

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: HTML errors on this site

jvvg wrote:

That bottom one is valid in XHTML (if you add doctype and xml namespace), but not in HTML 4 Strict.
Also, you have to open a tag before closing it, so yes, that top one is horrible form.

Lol, I was just testing jjiskyline's theory. I usually use <br /> for my line breaks. My HTML is really sloppy anyways. I use the right code, but I find myself not using the enter or tab keys.

Last edited by chanmanpartyman (2012-06-04 16:29:50)

Offline

 

#15 2012-06-04 18:15:48

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: HTML errors on this site

chanmanpartyman wrote:

jvvg wrote:

That bottom one is valid in XHTML (if you add doctype and xml namespace), but not in HTML 4 Strict.
Also, you have to open a tag before closing it, so yes, that top one is horrible form.

Lol, I was just testing jjiskyline's theory. I usually use <br /> for my line breaks. My HTML is really sloppy anyways. I use the right code, but I find myself not using the enter or tab keys.

For it to be valid, you don't need to do any of that. For valid XHTML, you just need to close all of your tags and a bunch of other stuff.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#16 2012-06-05 08:58:01

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: HTML errors on this site

jvvg wrote:

chanmanpartyman wrote:

jvvg wrote:

That bottom one is valid in XHTML (if you add doctype and xml namespace), but not in HTML 4 Strict.
Also, you have to open a tag before closing it, so yes, that top one is horrible form.

Lol, I was just testing jjiskyline's theory. I usually use <br /> for my line breaks. My HTML is really sloppy anyways. I use the right code, but I find myself not using the enter or tab keys.

For it to be valid, you don't need to do any of that. For valid XHTML, you just need to close all of your tags and a bunch of other stuff.

Such as proper nesting and quoting all attributes.

So that's why Firefox marks "<br/>" as an error when using an HTML4 DOCTYPE instead of XHTML...

Offline

 

Board footer