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

#26 2012-04-06 04:52:28

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Tutorialized: HTML5!

Thank you


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#27 2012-04-07 23:45:17

analytic
New Scratcher
Registered: 2012-02-20
Posts: 90

Re: Tutorialized: HTML5!

Very helpful and informative!  smile

Offline

 

#28 2012-04-13 22:33:12

Ecliptic
Scratcher
Registered: 2012-02-27
Posts: 500+

Re: Tutorialized: HTML5!

With the <video> tag, can the source be a online video such as a video from Youtube?


If you can read this you are in range.

Offline

 

#29 2012-04-13 22:43:49

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Tutorialized: HTML5!

Ecliptic wrote:

With the <video> tag, can the source be a online video such as a video from Youtube?

Yes.
You'll have to specify the source as the exact location of the video though, not the URL of the webpage with the video on it.


http://trinary.tk/images/signature_.php

Offline

 

#30 2012-04-13 22:45:40

Ecliptic
Scratcher
Registered: 2012-02-27
Posts: 500+

Re: Tutorialized: HTML5!

trinary wrote:

Ecliptic wrote:

With the <video> tag, can the source be a online video such as a video from Youtube?

Yes.
You'll have to specify the source as the exact location of the video though, not the URL of the webpage with the video on it.

Ah. Okay, thanks!


If you can read this you are in range.

Offline

 

#31 2012-04-13 22:46:45

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

Re: Tutorialized: HTML5!

Great guide, trinary!  Best one i've actually seen!  This is great!


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

Offline

 

#32 2012-04-15 13:19:09

3DSfan12345
Scratcher
Registered: 2011-04-02
Posts: 500+

Re: Tutorialized: HTML5!

Bump because HTML is awesome.


R.I.P Scratch 1.4
July 7,2009-May 5,2013

Offline

 

#33 2012-04-15 19:08:04

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Tutorialized: HTML5!

XenoK wrote:

Great guide, trinary!  Best one i've actually seen!  This is great!

Thanks!

3DSFan12345 wrote:

Bump because HTML is awesome.

It is.  big_smile


http://trinary.tk/images/signature_.php

Offline

 

#34 2012-04-18 16:35:09

3DSfan12345
Scratcher
Registered: 2011-04-02
Posts: 500+

Re: Tutorialized: HTML5!

bump
EDIT: Could you make tutorials for JavaScript and CSS3?

Last edited by 3DSfan12345 (2012-04-18 16:35:52)


R.I.P Scratch 1.4
July 7,2009-May 5,2013

Offline

 

#35 2012-04-18 19:14:41

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

Re: Tutorialized: HTML5!

how'd you change your location to scratch?


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

Offline

 

#36 2012-05-05 14:53:53

thebriculator
Scratcher
Registered: 2011-07-11
Posts: 500+

Re: Tutorialized: HTML5!

this should be stickied


.     http://tiny.cc/2cwgpw    http://tiny.cc/viwgpw    http://tiny.cc/iwwgpw

Offline

 

#37 2012-05-05 16:14:03

LiFaytheGoblin
Scratcher
Registered: 2011-11-14
Posts: 1000+

Re: Tutorialized: HTML5!

Wow  big_smile  Thank you for this great tuturial!

Offline

 

#38 2012-05-07 09:34:15

Snowdrift
Scratcher
Registered: 2011-06-22
Posts: 500+

Re: Tutorialized: HTML5!

I remember one time making a GAME with HTML.
It was really just a bunch of images with hyperlinks.  tongue

Offline

 

#39 2012-05-07 11:35:53

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: Tutorialized: HTML5!

trinary wrote:

You can either set the width/height of the canvas using
<canvas id="myCanvas" width="LARGENUMBER" height="LARGENUMBER"></canvas>
or you could use Javascript to create a new window, and use canvas.width=window.window.innerWidth and
canvas.height=window.innerHeight
to push it to fit the window.

Alternatively, you could use Javascript to call requestFullScreen(), or use CSS:

Code:

      #myCanvas {
        height: 100%; 
        width: 100%;
      }

requestFullScreen AND use CSS  tongue  if u use or , u will get fullscreen canvas which will be limited in 400 x 300 :-P [or anything u gave] atkeast as oer the specs . state  ...

Last edited by fanofcena (2012-05-07 11:37:28)


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#40 2012-05-07 11:45:29

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: Tutorialized: HTML5!

trinary wrote:

TUTORIALIZED

HTML5

- Contents -
1. Introduction
   i. This tutorial
   ii. What's HTML?
   iii. New features in HTML5

2. Getting Started
   i. The barest basics
   ii. Some old elements
   iii. A little more for you

3. New elements
   i. <articles> and <sections>?
   ii. Looking at <nav>, <aside>, <header>, <hgroup>...
   iii. <audio> and <video>, finally!

4. A Little More Complex
   i. Form validation
   ii. Time for canvas
   iii. Dragging and dropping

5. Exciting, Fresh, New
   i. Geolocate this
   ii. App caches
   iii. Web workers: something new

6. A Last Word

__________________________________________________________________________________________

...

Coincidentally, this is also my 1001st post.  big_smile

Well I must say i enjoyed reading the documentation , it was a pleasure.. Nice one :-)

Check out my blog
Pure HTML5ism ^_^

for future though please do not use w3schools.com , use Mozilla Documentation Network Instead :-) it will be good for your own sake of knowledge :-) for more see

W3fools

and as another friendly tip

Join this :-)

Last edited by fanofcena (2012-05-07 11:48:45)


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#41 2012-05-07 11:54:50

stevetheipad
Scratcher
Registered: 2011-08-06
Posts: 1000+

Re: Tutorialized: HTML5!

Wow, nice tutorial! I'll recommend this to one of my friends...


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

#42 2012-05-08 05:44:18

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Tutorialized: HTML5!

fanofcena wrote:

trinary wrote:

TUTORIALIZED

HTML5

- Contents -
1. Introduction
   i. This tutorial
   ii. What's HTML?
   iii. New features in HTML5

2. Getting Started
   i. The barest basics
   ii. Some old elements
   iii. A little more for you

3. New elements
   i. <articles> and <sections>?
   ii. Looking at <nav>, <aside>, <header>, <hgroup>...
   iii. <audio> and <video>, finally!

4. A Little More Complex
   i. Form validation
   ii. Time for canvas
   iii. Dragging and dropping

5. Exciting, Fresh, New
   i. Geolocate this
   ii. App caches
   iii. Web workers: something new

6. A Last Word

__________________________________________________________________________________________

...

Coincidentally, this is also my 1001st post.  big_smile

Well I must say i enjoyed reading the documentation , it was a pleasure.. Nice one :-)

Check out my blog
Pure HTML5ism ^_^

for future though please do not use w3schools.com , use Mozilla Documentation Network Instead :-) it will be good for your own sake of knowledge :-) for more see

W3fools

and as another friendly tip

Join this :-)

A rather impressive blog.  smile
And stackoverflow seems to be quite an interesting website.  big_smile


http://trinary.tk/images/signature_.php

Offline

 

#43 2012-05-08 05:46:32

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Tutorialized: HTML5!

stevetheipad wrote:

Wow, nice tutorial! I'll recommend this to one of my friends...

Thank you.


http://trinary.tk/images/signature_.php

Offline

 

#44 2012-05-08 05:55:58

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Tutorialized: HTML5!

fanofcena wrote:

trinary wrote:

TUTORIALIZED

HTML5

- Contents -
1. Introduction
   i. This tutorial
   ii. What's HTML?
   iii. New features in HTML5

2. Getting Started
   i. The barest basics
   ii. Some old elements
   iii. A little more for you

3. New elements
   i. <articles> and <sections>?
   ii. Looking at <nav>, <aside>, <header>, <hgroup>...
   iii. <audio> and <video>, finally!

4. A Little More Complex
   i. Form validation
   ii. Time for canvas
   iii. Dragging and dropping

5. Exciting, Fresh, New
   i. Geolocate this
   ii. App caches
   iii. Web workers: something new

6. A Last Word

__________________________________________________________________________________________

...

Coincidentally, this is also my 1001st post.  big_smile

Well I must say i enjoyed reading the documentation , it was a pleasure.. Nice one :-)

Check out my blog
Pure HTML5ism ^_^

for future though please do not use w3schools.com , use Mozilla Documentation Network Instead :-) it will be good for your own sake of knowledge :-) for more see

W3fools

and as another friendly tip

Join this :-)

Fixed :3


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#45 2012-05-08 08:48:15

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: Tutorialized: HTML5!

trinary & fanofcena wrote:

I said something and you said something back , i dont wanna load up the forum's db so cutting it ;-)

Indeed SO is a great website :-) , its extremely helpful for programmers as a whole :-)

and my blog ;-) i just started making it , when i get off from my work i will add more to it like css only faces and stuff :-) stay tuned..

Last edited by fanofcena (2012-05-08 08:50:22)


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#46 2012-05-12 16:28:06

3DSfan12345
Scratcher
Registered: 2011-04-02
Posts: 500+

Re: Tutorialized: HTML5!

Bump.


R.I.P Scratch 1.4
July 7,2009-May 5,2013

Offline

 

#47 2012-05-12 16:34:43

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

Re: Tutorialized: HTML5!

I guess XHTML users are a dying breed.  sad


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

Offline

 

#48 2012-05-12 17:28:24

Agentpieface
Scratcher
Registered: 2009-10-10
Posts: 1000+

Re: Tutorialized: HTML5!

great thread! :D


http://media.tumblr.com/tumblr_lr7fywSZAG1qfj8fq.gif

Offline

 

#49 2012-05-12 17:36:37

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

Re: Tutorialized: HTML5!

A note:
HTML5 is a bit sloppy, in one regard: self-close tags. Everybody uses self-close tags like regular tags, but don't close them. This makes for sloppy code which can be hard to understand.
Read my guide below to make your code more readable.

Instead of

Code:

<img src="/path/to/image" alt="">

use

Code:

<img src="/path/to/image" alt="" />

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

Offline

 

#50 2012-05-12 17:56:26

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Tutorialized: HTML5!

jacob, why would adding one slash make it more readable?


Why

Offline

 

Board footer