School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 340,079 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 4,792 people online right now. Registration is fast and FREE... Join Now!



HTML 5 Specifications & Implementations Officially Released

  • (2 Pages)
  • +
  • 1
  • 2

HTML 5 Specifications & Implementations Officially Released

#1 Core  Icon User is offline

  • Jasper
  • Icon
  • View blog
  • Group: Admins
  • Posts: 3,474
  • Joined: 08-December 08


Dream Kudos: 975

Expert In: .NET Framework

Post icon  Posted 08 July 2009 - 06:51 AM

Many of the web developers expected it and now HTML 5 is officially released. HTML 5 introduces some new markup elements such as <nav>, <audio>, <canvas>, <video> and <footer>. Its new functionality will also facilitate the development of RIA (Rich Internet Applications) through several multimedia interfaces.

Detailed specifications here.
Was This Post Helpful? 1
  • +
  • -


#2 Nykc  Icon User is offline

  • Gentleman of Leisure
  • Icon
  • View blog
  • Group: Author w/DIC++
  • Posts: 6,978
  • Joined: 14-September 07


Dream Kudos: 375

Posted 08 July 2009 - 08:42 AM

Just great, now I need to rewrite half of my f-ing book.

Actually this is good news, now all we need is better browser support and the world will be a better place.
Was This Post Helpful? 0
  • +
  • -

#3 BetaWar  Icon User is online

  • #include <soul.h>
  • Icon
  • Group: Moderators
  • Posts: 4,941
  • Joined: 07-September 06


Dream Kudos: 1500

Posted 08 July 2009 - 06:23 PM

It is nice. I just wish they had built in the file drag and drop like Google tried to get them to. That would have been really nice.
Was This Post Helpful? 0
  • +
  • -

#4 noorahmad  Icon User is offline

  • Author
  • Icon
  • View blog
  • Group: Author w/DIC++
  • Posts: 2,198
  • Joined: 12-March 09


Dream Kudos: 1600

Posted 08 July 2009 - 10:08 PM

old browsers supports these new tags?
Was This Post Helpful? 0
  • +
  • -

#5 Core  Icon User is offline

  • Jasper
  • Icon
  • View blog
  • Group: Admins
  • Posts: 3,474
  • Joined: 08-December 08


Dream Kudos: 975

Expert In: .NET Framework

Posted 08 July 2009 - 10:12 PM

Not every new browser supports it yet so I highly doubt older browser support HTML 5 at this time.
Was This Post Helpful? 0
  • +
  • -

#6 firebolt  Icon User is offline

  • D.I.C Lover
  • Icon
  • View blog
  • Group: Author w/DIC++
  • Posts: 5,555
  • Joined: 20-February 09


Dream Kudos: 1675

Posted 09 July 2009 - 01:32 AM

Ahh.. Very nice. Hopefully old browsers will be phased out so the new HTML can function in every browser.
Was This Post Helpful? 0
  • +
  • -

#7 Nykc  Icon User is offline

  • Gentleman of Leisure
  • Icon
  • View blog
  • Group: Author w/DIC++
  • Posts: 6,978
  • Joined: 14-September 07


Dream Kudos: 375

Posted 09 July 2009 - 05:59 AM

Well since the world is moving towards XML - XHTML is pretty much defacto standard at this point, however as long as you use HTML as it is intended - for displaying text ONLY!!

Leave the design & layout to CSS you won't have these issues since the browser that don't support the DTD will default into quirks mode and they don't reap the benefits of the page the way it was intended to look.

Of course CSS isn't 100% supported by older browsers either. I actually dropped support all together for IE6 - as Microsoft is in the process of doing the same since IE8 is official now.
Was This Post Helpful? 0
  • +
  • -

#8 crcapps  Icon User is offline

  • D.I.C Head
  • PipPip
  • Group: Members
  • Posts: 60
  • Joined: 13-May 08


Dream Kudos: 0

Posted 09 July 2009 - 06:01 AM

It's hardly a mere markup language anymore. Before, I was scoffing at it and keeping my fingers crossed for XHTML 2.0, but the XHTML5 serialization looks pretty nice.
Was This Post Helpful? 0
  • +
  • -

#9 baavgai  Icon User is online

  • Dreaming Coder
  • Icon
  • View blog
  • Group: Expert w/DIC++
  • Posts: 4,722
  • Joined: 16-October 07


Dream Kudos: 575

Expert In: C, C++, Java, C#, ASP.NET, PHP, Perl, Python, Oracle, SQL Server, MySql, HTML, JavaScript, Lua, Cheese

Posted 09 July 2009 - 07:17 AM

View PostNykc, on 9 Jul, 2009 - 07:59 AM, said:

XHTML is pretty much defacto standard at this point, however as long as you use HTML as it is intended - for displaying text ONLY!!


Dude, you totally missed the memo! :P

Quote

XHTML 2 Working Group Expected to Stop Work End of 2009, W3C to Increase Resources on HTML 5

2009-07-02: Today the Director announces that when the XHTML 2 Working Group charter expires as scheduled at the end of 2009, the charter will not be renewed. By doing so, and by increasing resources in the HTML Working Group, W3C hopes to accelerate the progress of HTML 5 and clarify W3C's position regarding the future of HTML. A FAQ answers questions about the future of deliverables of the XHTML 2 Working Group, and the status of various discussions related to HTML. Learn more about the HTML Activity.
-- http://www.w3.org/News/2009#item119


I agree, however. XML is ubiquitous. However, so is writing crappy HTML. Worse, and more to blame, browsers ( IE *cough* ) that support the crap. You see a lot of XHTML transitional, but strict is depressingly rare. To some extent, XHTML is an adoption failure. Even those that claim compliance often break it anyway. The HTML 5 spec does most of what XHTML intended. Maybe now it will stick. Well, if any browser bothers to comply to it.
Was This Post Helpful? 0
  • +
  • -

#10 Nykc  Icon User is offline

  • Gentleman of Leisure
  • Icon
  • View blog
  • Group: Author w/DIC++
  • Posts: 6,978
  • Joined: 14-September 07


Dream Kudos: 375

Posted 09 July 2009 - 08:00 AM

Holy shit did I miss that memo. I really need to rewrite the XHTML chapter.

Son of a......

Thanks for the heads up though lol.

That's the thing - are the browsers going to comply? Or are we going to have to write hacks for every fricking browser (hint hint IE)

edit - here is a nice quick reference guide of the new markup.
http://www.veign.com...html5-guide.php

This post has been edited by Nykc: 09 July 2009 - 08:38 AM

Was This Post Helpful? 0
  • +
  • -

#11 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • Icon
  • Group: Members w/DIC++
  • Posts: 1,931
  • Joined: 05-June 09


Dream Kudos: 150

Expert In: PHP, MySQL, HTML, CSS, C#

Posted 09 July 2009 - 10:11 AM

I don't think I'd ever work with HTML5 over XHTML1.1, or XHTML 2 if it actually becomes supported. HTML always seems to me to be a nasty un-semantic language, do they require tags to be closed now (such as img/br/li, etc.) or is that still a complete mess?
Was This Post Helpful? 0
  • +
  • -

#12 Nykc  Icon User is offline

  • Gentleman of Leisure
  • Icon
  • View blog
  • Group: Author w/DIC++
  • Posts: 6,978
  • Joined: 14-September 07


Dream Kudos: 375

Posted 09 July 2009 - 11:53 AM

I dont think I will ever stop closing my tags.

<li></li>
<br />
<img />

This is the W3C we are talking about, I don't think they would encourage us to start adapting to XHTML standards and then strip all ideas to resort to the failure that was known as Netscape 4 & IE 5/6
Was This Post Helpful? 0
  • +
  • -

#13 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • Icon
  • Group: Members w/DIC++
  • Posts: 1,931
  • Joined: 05-June 09


Dream Kudos: 150

Expert In: PHP, MySQL, HTML, CSS, C#

Posted 09 July 2009 - 11:54 AM

Well the problem with closing your tags in a HTML(4) environment is that it doesn't validate, I'm just wondering if HTML5 is more like HTML4 than XHTML, if so, I'll never use it as I previously mentioned.

This post has been edited by MageUK: 09 July 2009 - 11:55 AM

Was This Post Helpful? 0
  • +
  • -

#14 Nykc  Icon User is offline

  • Gentleman of Leisure
  • Icon
  • View blog
  • Group: Author w/DIC++
  • Posts: 6,978
  • Joined: 14-September 07


Dream Kudos: 375

Posted 10 July 2009 - 09:21 AM

WHY?

Why does Internet Explorer have to dick up the entire world wide web? Seriously - after 8 years of developing websites I have come to the conclusion IE needs to just fold as a browser. Let the banks and governments use that shitty browser all they want, but keep John Q. Public away.

So just for shits and giggles I was looking up some references on the new <canvas> tag. Came across a neat little tutorial and decided to give it a shot. This code has been successfully tested and executed in:
Firefox 3.0.11
Safari 4
Chrome
Opera 9
IE 8

Anyone wanna guess the only browser this code did not render in?

<html>
  <head>
	<title>Rectangles Using HTML 5 Canvas Tag</title>
	<script type="application/x-javascript">
	  function draw(){
		var canvas = document.getElementById('canvas');
		if (canvas.getContext){
		  var ctx = canvas.getContext('2d');
		  
		  ctx.fillStyle = "rgb(200,0,0)";
		  ctx.fillRect (10,10,55,50);
		  
		  ctx.fillStyle = "rgba(0, 0, 200, 0.5)";
		  ctx.fillRect (30, 30, 55, 50);
		  
		}
	  }
	</script>
	<style type="text/css">
	  canvas { border: 1px dashed black; }
	</style>
  </head>
  <body onload="draw();">
	<canvas id="canvas" width="150" height="150"></canvas>
  </body>
</html>



</rant>

This post has been edited by Nykc: 10 July 2009 - 09:22 AM

Was This Post Helpful? 0
  • +
  • -

#15 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • Icon
  • Group: Members w/DIC++
  • Posts: 1,931
  • Joined: 05-June 09


Dream Kudos: 150

Expert In: PHP, MySQL, HTML, CSS, C#

Posted 10 July 2009 - 09:25 AM

Quick Q as to why IE8 would render unreleased (at the time) standards when they're focusing on getting old ones correct?
Was This Post Helpful? 0
  • +
  • -

#16 Nykc  Icon User is offline

  • Gentleman of Leisure
  • Icon
  • View blog
  • Group: Author w/DIC++
  • Posts: 6,978
  • Joined: 14-September 07


Dream Kudos: 375

Posted 10 July 2009 - 09:29 AM

Because as many of the browser developers are members of the World Wide Web Consortium you would think that maybe they should be focused on standards compliance.

Of course with Microsoft that is never the case, and they will never get it right - they never have.

Funny how all the "Other Browsers" render unreleased standards just fine.
Was This Post Helpful? 0
  • +
  • -

#17 baavgai  Icon User is online

  • Dreaming Coder
  • Icon
  • View blog
  • Group: Expert w/DIC++
  • Posts: 4,722
  • Joined: 16-October 07


Dream Kudos: 575

Expert In: C, C++, Java, C#, ASP.NET, PHP, Perl, Python, Oracle, SQL Server, MySql, HTML, JavaScript, Lua, Cheese

Posted 10 July 2009 - 09:37 AM

View PostMageUK, on 10 Jul, 2009 - 11:25 AM, said:

when they're focusing on getting old ones correct?


Oh, if only this were so! It's a nice dream.

Seriously, with the power of Microsoft, does anyone think they couldn't be the most standard's compliant browser on the planet? I mean, it's not like an entire OS upon which thousands of programs depend. The browser is a piece of software and Microsoft could probably have a new one written from the ground up faster than you can say Chrome.

There are only two conclusions as to the current state of IE. Either it's simply on the agenda to keep the quirks in and make sites break from one browser to the other. Or, the priority of actually fixing it is somewhere on the list under Windows 7 and trimming Ballmer's nose hair.
Was This Post Helpful? 0
  • +
  • -

#18 Nykc  Icon User is offline

  • Gentleman of Leisure
  • Icon
  • View blog
  • Group: Author w/DIC++
  • Posts: 6,978
  • Joined: 14-September 07


Dream Kudos: 375

Posted 10 July 2009 - 09:47 AM

I might be talking out my ass here but correct me if I am wrong. Microsoft or more particularly "Bill Gates" himself sent a memo to the design team for Front Page and ordered them not to focus on standards compliance. The reason for this was simply it would do one of two things.
1. Force people into keeping current versions of Front Page.
2. Force people to learn HTML or other WYSIWYG editors.

Microsoft as I stated before has several members on the W3C board.

They have always veered from the norm - JScript, VBScript, Active X, William Shatner I mean come on!
Was This Post Helpful? 0
  • +
  • -

#19 RodgerB  Icon User is offline

  • D.I.C Lover
  • Icon
  • View blog
  • Group: Expert w/DIC++
  • Posts: 2,244
  • Joined: 21-September 07


Dream Kudos: 2200

Expert In: Dot Net Technologies

Posted 10 July 2009 - 07:37 PM

Burn them. Burn them all.
Was This Post Helpful? 0
  • +
  • -

#20 tivrfoa  Icon User is offline

  • D.I.C Head
  • Icon
  • View blog
  • Group: Contributors
  • Posts: 98
  • Joined: 25-January 09


Dream Kudos: 175

Posted 13 July 2009 - 06:14 AM

View PostMageUK, on 9 Jul, 2009 - 11:54 AM, said:

Well the problem with closing your tags in a HTML(4) environment is that it doesn't validate, I'm just wondering if HTML5 is more like HTML4 than XHTML, if so, I'll never use it as I previously mentioned.

come on man... f4uck validation! xD kidding

but do you prefer your site validate than use all benefits that the new language is bringing?

maybe the boss wants the site to validate (sh1t boss), but users don't matter with it, most don't even know that this exist.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month