HTML 5 specification!

Costello

Headmaster
OP
Administrator
Joined
Oct 24, 2002
Messages
14,141
Trophies
4
XP
18,785
A new draft of the HTML 5 specification is available at this address.
The changes are huge
blink.gif
  • It's fully basically backwards compatible, which is good; but there are tons of new additions.
  • These sections impressed me most:
    3.1. New Elements especially the INPUT part and the audio/video tags.
    3.2. New Attributes... the "ping" attribute for links
    wtf.gif
    autofocus
    ohmy.gif
    inputmode
    wub.gif
    new input constraints
    bow.gif
    asynchronous scripts
    ph34r.gif
    context menus
    grog.gif
    drag & drop API
    biggrin.gif
  • Also the tag "names" don't exist anymore, they're replaced by IDs only... which is a good thing IMO, using names & ID could sometimes be confusing.
  • Most of the presentational attributes in tags were removed (such as the "align" property) because they are now handled by CSS. A good thing again, since you used to be able to go like and it would behave differently according to the browser you're using. The main attributes that were removed are: align & valign, background & bgcolor, border, cellpadding/cellspacing, height & width, size, style (WTF? you can't use the style attribute anymore? NOOOOOO) ...
  • Some interesting APIs are also introduced: 2D drawing API, video and audio playback
    wtf.gif
    , persistent storage
    wtf.gif
    , drag & drop API, network API, and a couple more.
What an interesting read!
This going to be like a new WWW... Wow.
HTML engine developpers (gecko/IE mainly) are going to have a lot of work on their plate.
icon11.gif
Read article

PS: sorry for the overuse of emoticons. I'm thrilled.
 
D

Deleted User

Guest
And now start the usual procedure :
for each browser :
1) roll a 100-hundred faces dice
2) implement the number % of the specification

Overall constraint : make sure browsers implementation are the least overlapping, and when they do, make sure they choosed non compatible interpretation of the specif.
 

Costello

Headmaster
OP
Administrator
Joined
Oct 24, 2002
Messages
14,141
Trophies
4
XP
18,785
quelle mauvaise langue
tongue.gif


nowadays browsers tend to comply a lot more with the standards and specifications: I even heard that IE 8 passed the Ac!d 2 test (something like that).
 

CockroachMan

Scribbling around GBATemp's kitchen.
Member
Joined
Jan 14, 2006
Messages
3,887
Trophies
0
Age
37
Location
Brazil
Website
www.homembarata.com.br
XP
667
Country
Brazil
Lots of changes!
wtf.gif

I was not expecting that much stuff.. passing all the style responsibility to CSS is a good thing.. now you know were all you're styles definitions are!
biggrin.gif


What screws everything is that a lot of people still use IE6.. it'll take some time till HTML5 becomes standard..
frown.gif
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,723
Trophies
4
Age
44
Location
Engine room, learning
XP
15,466
Country
France
QUOTE said:
Also the tag "names" don't exist anymore, they're replaced by IDs only... which is a good thing IMO, using names & ID could sometimes be confusing.
I'm using the "name" tag with javascript to apply same effect to multiple element, as ID is a little hard to use because it has to be unique.

no more "style" except on font tag ? We will need to use ID everywhere ? If the same style is used all over the page, we can't use same ID for each element.

Also no more frame/framset.

New elements and attributes are interesting (and maybe useless, like the Dialogue element).
 

Psyfira

Credit: 0ml. Insert tea to continue
Member
Joined
Dec 31, 2003
Messages
3,886
Trophies
0
Location
England
XP
270
Country
no more "style" except on font tag ? We will need to use ID everywhere ? If the same style is used all over the page, we can't use same ID for each element.
I think "class" is what you're after; does the same job as ID but can be used for multiple elements, and if I'm reading the HTML 5 spec correctly it can now be used on any element. Not that I knew it couldn't before
unsure.gif
 

You may also like...

General chit-chat
Help Users
  • ZeroT21 @ ZeroT21:
    while i simply make stinkbombs with pingpong balls
  • ZeroT21 @ ZeroT21:
    cops got called while suspecting arson ,c'mon

    :rofl:
  • K3N1 @ K3N1:
    I stole their bag of Halloween candy last year and the parents said stop being a little bitch and go get it
    +1
  • ZeroT21 @ ZeroT21:
    is it still trick and treat? or steal and cheat?
  • K3N1 @ K3N1:
    I think it's like trick or get kidnapped these days
  • M4x1mumReZ @ M4x1mumReZ:
    Stealing is treating
  • ZeroT21 @ ZeroT21:
    honestly, i find lots of kids nowadays like devils that need to be locked up forever
    +1
  • M4x1mumReZ @ M4x1mumReZ:
    Blame the kind of music that's affecting them
  • K3N1 @ K3N1:
    Issue is we got beat as kids now days it's prison if you flick their head
  • ZeroT21 @ ZeroT21:
    and here i thought they were lacking brain supplements
  • ZeroT21 @ ZeroT21:
    no sheet
  • ZeroT21 @ ZeroT21:
    seeing brats simply calling the cops on the parents just cus they dont wanna do homework or take a friggin bath tsk
  • K3N1 @ K3N1:
    You can't blame technology or what they do it's how they're raised
  • ZeroT21 @ ZeroT21:
    having ''smart tech'' dont always make someone smarter
  • ZeroT21 @ ZeroT21:
    you can blame alexa for teaching weird shit
  • K3N1 @ K3N1:
    Kids are smart or they would get away with what they do
  • ZeroT21 @ ZeroT21:
    we're all taught in school to cheat
  • ZeroT21 @ ZeroT21:
    cheat while not getting caught is not a crime
  • K3N1 @ K3N1:
    If a kid doesn't have the right sponge to learn from then that's what they imitate
  • ZeroT21 @ ZeroT21:
    sounds like my old man who had like 10 flings he brought home and demanding i call them mum the following day
  • ZeroT21 @ ZeroT21:
    is that the current free game?
  • K3N1 @ K3N1:
    Ye
    K3N1 @ K3N1: https://youtube.com/shorts/STu5S3NWaYo?feature=share