Got this Code for scratch in HTML Have a go does'nt work in my IE That's for sure<!doctype html>
<html lang=en>
<meta charset=utf-8>
<head>
<title>Scratch in HTML Test</title>
</head>
<body>
<h1>Test Layout
<applet id='ProjectApplet' style='display:block' code='ScratchApplet'
codebase='http://scratch.mit.edu/static/misc' archive='ScratchApplet.jar' height='387' width='482'><param
name='project' value='../../static/projects/XBOX360GUY/3014957.sb'></applet> <a
href='http://scratch.mit.edu/projects/XBOX360GUY/3014957'>Learn more about this project</a>
</body>
</html>
when gf clicked Reply if Scratch HTML Works!
Offline
If you're trying to host your games on your own web site using the flash player...
Read this: http://scratch.mit.edu/forums/viewtopic … 2#p1433192
Offline
BoltBait wrote:
If you're trying to host your games on your own web site using the flash player...
Read this: http://scratch.mit.edu/forums/viewtopic … 2#p1433192
all he's doing is embedding the java applet, I haven't checked his code to see if it's correct though
Offline
You didn't close your <h1> tag.
Offline
scimonster wrote:
You didn't close your <h1> tag.
Not a requirement in HTML5 (then again, we don't know he's using 5 because the doctype is ambiguous).
Offline
LS97 wrote:
scimonster wrote:
You didn't close your <h1> tag.
Not a requirement in HTML5 (then again, we don't know he's using 5 because the doctype is ambiguous).
that is the html5 doctype Kinda wish it was a bit more like the XHTML doctypes, but the simplicity is also nice.
However, I do believe it is a requirement, as how would the browser know when the h1 ends?
Offline
SJRCS_011 wrote:
Kinda wish it was a bit more like the XHTML doctypes
What, icky, long, and impossible to memorize or type correctly?
Also, you forgot to use the subjunctive.
However, I do believe it is a requirement, as how would the browser know when the h1 ends?
Yeah, it's required. <p> is the one you don't have to close.
Last edited by nXIII (2013-01-09 17:51:48)
Offline
nXIII wrote:
However, I do believe it is a requirement, as how would the browser know when the h1 ends?
Yeah, it's required. <p> is the one you don't have to close.
My bad. I never delved into html5 anyway.
SJRCS_011 wrote:
that is the html5 doctype
My bad again. I thought it was supposed to be <!DOCTYPE html5>
Offline
scimonster wrote:
You didn't close your <h1> tag.
Forgot to
Offline
SJRCS_011 wrote:
that is the html5 doctype Kinda wish it was a bit more like the XHTML doctypes, but the simplicity is also nice.
However, I do believe it is a requirement, as how would the browser know when the h1 ends?
I prefer html5
Offline
Even if you don't need the closing tag it is still good standards to do that as not all browsers (um. Internet Explorer) fully support HTML5. It also makes your markup more readable.
Offline
logiblocs wrote:
Even if you don't need the closing tag it is still good standards to do that as not all browsers (um. Internet Explorer) fully support HTML5.
Yeah, but they all parse this in exactly the same way:
<p>Paragraph 1 <p>Paragraph 2
The HTML5 specification standardizes this parsing process, meaning that it actually is "good standards" to write HTML files like that.
It also makes your markup more readable.
It makes it more verbose and lowers the content-to-code ratio. That's not more readable.
Last edited by nXIII (2013-01-15 18:06:43)
Offline
nXIII wrote:
It also makes your markup more readable.
It makes it more verbose and lowers the content-to-code ratio. That's not more readable.
I thought a low content-to-code ratio was good, and that search engines used that as a criterion to select highest ranking websites...
Offline
LS97 wrote:
nXIII wrote:
It also makes your markup more readable.
It makes it more verbose and lowers the content-to-code ratio. That's not more readable.
I thought a low content-to-code ratio was good, and that search engines used that as a criterion to select highest ranking websites...
Hmm... I've never heard that before, although it could be true.
Offline