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

#1 2012-06-20 00:12:18

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

Xhtml5

Does anyone have any idea what the status of XHTML5 is? Currently, HTML5 is mostly ready, but I can't find much about XHTML5.


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-20 03:57:58

Taneb
Scratcher
Registered: 2009-07-07
Posts: 100+

Re: Xhtml5

XHTML5 is just HTML5 restricted to XML syntax: all tags must be closed, so no using just a <br> or an <img> without the slash. It also allows you to embed other XMLs in it, but that may be true in HTML5 as well, I'm not sure.

Offline

 

#3 2012-06-20 04:09:31

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Xhtml5

Why don't you want to use HTML5?  smile


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#4 2012-06-20 08:15:16

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Xhtml5

Taneb wrote:

XHTML5 is just HTML5 restricted to XML syntax: all tags must be closed, so no using just a <br> or an <img> without the slash. It also allows you to embed other XMLs in it, but that may be true in HTML5 as well, I'm not sure.

Exactly.
In reality, there is no such thing as XHTML5.(The next version of XHTML was going to be XHTML2, but was dropped by the W3C).  HTML5 is very flexible, so you can code as you would like.
But not as forgiving as HTML4  tongue

Last edited by SJRCS_011 (2012-06-20 08:17:30)


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#5 2012-06-20 10:38:07

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: Xhtml5

no such thing and no need anyway.


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

Offline

 

#6 2012-06-20 10:54:00

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

Re: Xhtml5

rookwood101 wrote:

no such thing and no need anyway.

yeah there is


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

Offline

 

#7 2012-06-20 12:06:47

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

Re: Xhtml5

rookwood101 wrote:

and no need anyway.

HTML5 has REALLY sloppy syntax (i.e. <br> doesn't need to close, but <div> does).

However, in XHTML5, EVERYTHING needs to close, it is case-sensitive, and every attribute must have a value (i.e. [s]<input type="text" disabled />[/s], use <input type="text" disabled="disabled" />).


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-20 12:37:59

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Xhtml5

jvvg wrote:

rookwood101 wrote:

and no need anyway.

HTML5 has REALLY sloppy syntax (i.e. <br> doesn't need to close, but <div> does).

However, in XHTML5, EVERYTHING needs to close, it is case-sensitive, and every attribute must have a value (i.e. [s]<input type="text" disabled />[/s], use <input type="text" disabled="disabled" />).

There's not a need because you can close those yourself (and I do) in HTML5


Posts: 20000 - Show all posts

Offline

 

#9 2012-06-20 12:49:21

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

Re: Xhtml5

veggieman001 wrote:

jvvg wrote:

rookwood101 wrote:

and no need anyway.

HTML5 has REALLY sloppy syntax (i.e. <br> doesn't need to close, but <div> does).

However, in XHTML5, EVERYTHING needs to close, it is case-sensitive, and every attribute must have a value (i.e. [s]<input type="text" disabled />[/s], use <input type="text" disabled="disabled" />).

There's not a need because you can close those yourself (and I do) in HTML5

that really doesnt help nor answer the question...


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

Offline

 

#10 2012-06-20 12:52:25

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

Re: Xhtml5

veggieman001 wrote:

jvvg wrote:

rookwood101 wrote:

and no need anyway.

HTML5 has REALLY sloppy syntax (i.e. <br> doesn't need to close, but <div> does).

However, in XHTML5, EVERYTHING needs to close, it is case-sensitive, and every attribute must have a value (i.e. [s]<input type="text" disabled />[/s], use <input type="text" disabled="disabled" />).

There's not a need because you can close those yourself (and I do) in HTML5

Yeah, but if I don't, then it doesn't care.
I still use XHTML 1 for that reason, because I need well-formed syntax.
Any HTML5 validator would accept <br> as well as <br/>, but an XHTML5 validator would only accept <br/>.


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

Offline

 

#11 2012-06-20 14:15:54

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Xhtml5

jvvg wrote:

veggieman001 wrote:

jvvg wrote:


HTML5 has REALLY sloppy syntax (i.e. <br> doesn't need to close, but <div> does).

However, in XHTML5, EVERYTHING needs to close, it is case-sensitive, and every attribute must have a value (i.e. [s]<input type="text" disabled />[/s], use <input type="text" disabled="disabled" />).

There's not a need because you can close those yourself (and I do) in HTML5

Yeah, but if I don't, then it doesn't care.
I still use XHTML 1 for that reason, because I need well-formed syntax.
Any HTML5 validator would accept <br> as well as <br/>, but an XHTML5 validator would only accept <br/>.

So XTML5 would require <canvas/>


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#12 2012-06-20 14:16:57

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

Re: Xhtml5

bobbybee wrote:

jvvg wrote:

veggieman001 wrote:


There's not a need because you can close those yourself (and I do) in HTML5

Yeah, but if I don't, then it doesn't care.
I still use XHTML 1 for that reason, because I need well-formed syntax.
Any HTML5 validator would accept <br> as well as <br/>, but an XHTML5 validator would only accept <br/>.

So XTML5 would require <canvas/>

I guess. I'm still learning about the new elements in HTML5, and I don't know which ones are self-close.


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

Offline

 

#13 2012-06-20 14:28:50

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Xhtml5

Canvases wouldn't. You use them like

Code:

<canvas id="example" width="200" height="200">
this text is displayed if your browser does not support html5 canvas.
</canvas>

Posts: 20000 - Show all posts

Offline

 

#14 2012-06-20 14:32:59

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Xhtml5

veggieman001 wrote:

Canvases wouldn't. You use them like

Code:

<canvas id="example" width="200" height="200">
this text is displayed if your browser does not support html5 canvas.
</canvas>

Oh. *facehoof*


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#15 2012-06-20 18:30:47

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

Re: Xhtml5

bobbybee wrote:

veggieman001 wrote:

Canvases wouldn't. You use them like

Code:

<canvas id="example" width="200" height="200">
this text is displayed if your browser does not support html5 canvas.
</canvas>

Oh. *facehoof*

Everyone I know in the web design community (all 3 people) except LS97 make fun of me because I still use XHTML 1.0, and I don't know the HTML5 stuff yet.


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-20 19:06:33

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Xhtml5

I use HTML5 but with the XHTML syntax.


Posts: 20000 - Show all posts

Offline

 

#17 2012-06-20 19:21:56

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

Re: Xhtml5

veggieman001 wrote:

I use HTML5 but with the XHTML syntax.

That's not good enough for me. I need real XHTML, because everything must be perfect (some people think I have OCD).


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

Offline

 

#18 2012-06-20 19:27:28

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Xhtml5

Yeah, I have like no sense of perfection  tongue


Posts: 20000 - Show all posts

Offline

 

#19 2012-06-20 19:29:44

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

Re: Xhtml5

veggieman001 wrote:

Yeah, I have like no sense of perfection  tongue

I'm the exact opposite. Everything must be right, and I'm often good at telling when something is not right (which is why I'm good at programming).


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

Offline

 

#20 2012-06-25 19:05:55

scratchisthebest
Scratcher
Registered: 2009-02-08
Posts: 500+

Re: Xhtml5

jvvg wrote:

Everyone I know in the web design community (all 3 people) except LS97 make fun of me because I still use XHTML 1.0, and I don't know the HTML5 stuff yet.

That's fine! Good idea being backwards compatible.  smile
Besides, if you really need the html5, you can just open a html5 reference in another browser tab.  wink


bye 1.4, we all loved you. but we all outgrew the site. 2.0 is a welcome change.
http://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.pnghttp://scratch.mit.edu/img/Pico3-med.png

Offline

 

#21 2012-06-25 20:26:12

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Xhtml5

Badly formatted JavaScript drives me crazy.  tongue


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#22 2012-06-25 21:19:25

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

Re: Xhtml5

MathWizz wrote:

Badly formatted JavaScript drives me crazy.  tongue

Yeah, I really hate people that don't end their lines with a semicolon.


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

Offline

 

#23 2012-06-26 04:50:04

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Xhtml5

jvvg wrote:

MathWizz wrote:

Badly formatted JavaScript drives me crazy.  tongue

Yeah, I really hate people that don't end their lines with a semicolon.

Oh, trust me, there's worse...

Offline

 

#24 2012-06-26 08:06:31

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

Re: Xhtml5

jvvg wrote:

veggieman001 wrote:

jvvg wrote:


HTML5 has REALLY sloppy syntax (i.e. <br> doesn't need to close, but <div> does).

However, in XHTML5, EVERYTHING needs to close, it is case-sensitive, and every attribute must have a value (i.e. [s]<input type="text" disabled />[/s], use <input type="text" disabled="disabled" />).

There's not a need because you can close those yourself (and I do) in HTML5

Yeah, but if I don't, then it doesn't care.
I still use XHTML 1 for that reason, because I need well-formed syntax.
Any HTML5 validator would accept <br> as well as <br/>, but an XHTML5 validator would only accept <br/>.

I always use <br/> anyway, until recently when I started getting a bit lazy, but still I usually use self closing tags.


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

Offline

 

#25 2012-06-26 08:41:18

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

Re: Xhtml5

veggieman001 wrote:

I use HTML5 but with the XHTML syntax.

Me too. I just rarely use most of the new tags. Actually, i rarely use any of the new tags.

The only time i don't is if i'm being lazy and just testing something. Then i'll completely mess up the document tree.

Offline

 

Board footer