background preloader

A Preview of HTML 5

A Preview of HTML 5
Abstract#section1 The web is constantly evolving. New and innovative websites are being created every day, pushing the boundaries of HTML in every direction. HTML 4 has been around for nearly a decade now, and publishers seeking new techniques to provide enhanced functionality are being held back by the constraints of the language and browsers. Article Continues Below To give authors more flexibility and interoperability, and enable more interactive and exciting websites and applications, HTML 5 introduces and enhances a wide range of features including form controls, APIs, multimedia, structure, and semantics. Work on HTML 5, which commenced in 2004, is currently being carried out in a joint effort between the W3C HTML WG and the WHATWG. Note that the specification is still a work in progress and quite a long way from completion. Structure#section2 HTML 5 introduces a whole set of new elements that make it much easier to structure pages. <body><header>... <footer>© 2007 Example Inc. <! Related:  articles

HTML5 Tutorial – Getting Started HTML5 is coming quicker than a lot of web designers are probably aware. You’ve probably seen the stories that it won’t actually be usable until 2022 but in reality, you can actually start using it today. Not all web browsers support CSS2.1, not all visitors are using software capable of using JavaScript but that doesn’t stop us from using it and it shouldn’t stop you using HTML5 either, and here’s why… Using progressive enhancement we can start using HTML5 while ensuring that visitors that are using outdated technology will still find your site usable and accessible. It’s also worth mentioning that if you’re used to validating your HTML that I’ve started using as it is specifically for HTML5 however I’m sure the W3C will update their validator at some point soon. HTML5 doctype To start using HTML5 you’ll need to use the new HTML5 doctype and all you need is the following snippet of code. The HEAD section <! The BODY section The HEADER and NAV elements The ASIDE element Summary

The Best Platforms For Building Web Sites Building an impressive web site takes work, whether you love to code or don’t know the first thing about it. There are lots of tools which aim to make creating a site easier, but no single option fits everyone’s needs. In this post, we’ll take a look at a handful of popular options, their pros and cons, and why you might pick them to build your web site. Photos by Tatiana Popove (Shutterstock) and Jason Winter I’ve constructed many web sites over the years, and the approach needed varies. Some sites work best when coded from scratch, while others benefit significantly from using a content management system (CMS) such as WordPress. Squarespace: A Rock-Solid But Costly Platform Squarespace tops the rankings when it comes to ease of use. The Good Squarespace had significant limitations when it started out, but as of version 6 the service has grown into an ideal tool for creating a blog or web site. The Bad Squarespace offers a stellar platform, but that comes at a cost. The Bottom Line

Introduction to JavaScript Source Maps - HTML5 Rocks Have you ever found yourself wishing you could keep your client-side code readable and more importantly debuggable even after you've combined and minified it, without impacting performance? Well now you can through the magic of source maps. Basically it's a way to map a combined/minified file back to an unbuilt state. When you build for production, along with minifying and combining your JavaScript files, you generate a source map which holds information about your original files. When you query a certain line and column number in your generated JavaScript you can do a lookup in the source map which returns the original location. Developer tools (currently WebKit nightly builds, Google Chrome, or Firefox 23+) can parse the source map automatically and make it appear as though you're running unminified and uncombined files. Demo: Get original location The above demo allows you to right click anywhere in the textarea containing the generated source. Real world So... Potential XSSI issues

Foundation | Education Program The Education Program makes grants to improve education by expanding the reach of openly available educational resources, improving California education policies, and by supporting "deeper learning" – a combination of the fundamental knowledge and practical basic skills all students will need to succeed. Since 2002, the Education Program has concentrated on improving the conditions for education policy reform in California and fostering the spread of high-quality open educational resources (OER). We are now building on this pioneering work by broadening our focus to include deeper learning, to help schools nationwide prepare a new generation of students to respond to the ever-increasing demands of a rapidly changing world. Learn more about our focus on deeper learning here. With these grants, the Hewlett Foundation hopes to improve education for all students, with a particular focus on those from disadvantaged areas.

Learn HTML5 for Beginners HTML5 for Beginners is the fastest way to learn HTML5. This highly informative and popular course, already taken by over 2200 people, is taught by Robin Nixon, author of Learning PHP, MySQL and JavaScript (the most popular book on web development worldwide for over five years). The course covers everything you need to know to learn HTML5 and leverage its power to create highly dynamic websites. Because it starts from the first principles of HTML, you need no prior knowledge of the subject, since the course begins with a thorough introduction to HTML (which skilled users can skip), before moving onto what's new in HTML5. HTML5 is the latest version of the Web's bedrock markup language, HTML. Something in the last couple of years kicked the HTML5 adoption machine into overdrive. But where do you come in? So what are you waiting for?

css guide - properties intro Most tutorials for style sheets concentrate quite heavily on what we are about to look at, properties, but pay quite a bit less attention to selectors. Why does this tutorial go about things differently? Well in many ways, properties is a straightforward subject. We all have a rather good grasp of text styles and page layout, things that can be done with fonts, backgrounds, borders and so on. But to really take advantage of the control over appearance that style sheets give us, we need to be able to apply the properties as well. Selectors are vital prerequisites for mastering style. But now we come to the fun part, making our sites look more sophisticated. As with the rest of this guide, this part is long on explanation. You don't really need to worry too much about the finer points of syntax (that is how to write the code to achieve the effects we are about to cover), but concentrate on what can and can't be done with CSS. What are properties? Westciv Self Paced Courses What it does

Changing Drop Down selector Arrow Each browser displays select elements differently and it’s usually the one thing that will stop your forms from looking amazing. Where is with a regular button it’s fairly easy to change it, changing the selector arrow is another story. Just look at some of the possible variations (and those are outdated)! There are many tutorials out there to change the selector drop down. The below solution will work for all browsers and only take seconds to implement and only needs some CSS! How does it work? Simple, we hide the standard arrow, then we create “<>” text and just rotate it 90 degrees. basic select html code <div class="selectdiv"><label><select><option selected> Select Box </option><option>Option 1</option><option>Option 2</option><option>Last long option</option></select></label></div> The CSS : We will basically use the :after selector to add our new characters and rotate them. So the final magical CSS that will make this work is: That’s it! Make it more fancier

The WWW Virtual Library Designing a blog with html5 This article is an edited version of two articles published by Opera Web Evangelist, Bruce Lawson, reproduced with permission. All rights reserved. Much of HTML 5′s feature set involves JavaScript APIs that make it easier to develop interactive web pages but there are a slew of new elements that allow you extra semantics in your conventional Web 1.0 pages. In order to investigate these, let’s look at marking up a blog. Firstly what we’ll do is use the header, footer, and nav elements to mark up the broad structure of the page. Then we’ll do some work on the guts of the page, using HTML 5’s article elements to better mark up blog posts and comments and show how to use the section elements to better structure accessible hierarchical headings on sites that are CMS-driven. So take the phone of the hook, and make a cup of tea and we’ll get started. Setting the DOCTYPE HTML 5, when used as plain HTML rather than its XHTML 5 sibling doesn’t need a DOCTYPE. Using some new structural elements

JavaScript: Novice to Ninja: Darren Jones: 9780992461225: Books Change the Default Select Drop-Down List In this article I’m going to help you style a Select drop-down input with just CSS without the need for javascript. Ok let’s get to it! So here’s the story – The awesome designer in your team sends you a new PSD (Photoshop Document) with the final design of a new website or app. You go through the different documents looking at all the pages that will be be included in the new site. Everything looks fine and dandy until you see that he/she designed a select drop-down input different from the default style given by the browsers! Well the reality is that you shouldn’t complain to the designer because little things like this makes you push yourself a little bit harder and not rely on default stylings just because. This article is based on two workarounds (One for Chrome and Safari and one for Firefox) already posted on the web. Credit for Chrome workaround goes to Chris Coyier from Credit for Firefox workaround goes to João Cunha who posted this on stackoverflow On Chrome:

Designing Contact form in CSS3 and HTML5 Details Created on Wednesday, 04 May 2011 16:17 Last Updated on Saturday, 15 February 2014 15:51 Written by Terrence Hits: 21936 Designing with CSS3 become a trend in web design world. Demo Let start with HTML Markup Styling with CSS Basic Styles Rounded Corners Ribbon Rectangle box-shadow accepts four parameters x-offset y-offset blur shadow color In my example x-offset: 0 y-offset: 0 blur: 4px shadow color: rgba(0,0,0,0.55); Triangles For deeper view please visit my previous tutorial: How to Draw Speech Bubble and Shapes with CSS3 Letterpress Text Effect with Text-Shadow Form Element Add Form Element in HTML We are making this form with labels.This is essential when creating accessible forms. “for” attribute of the label references the ID of its associated form element. Email The email input type is designed to hold either a single email address or an email address list, so that’s the perfect candidate for our email field. Autofocus you can  add the autofocus attribute to any form field. Stickies

Best Free Ways to Learn Programming. I can remember back when I was young how alien a couple of lines of code that were published in a kid's magazine looked to me. Some twenty years later (or should I better say a year ago), I decided that I should teach myself how to create some small and usable programs. Sad to say, I lost interest shortly after. Well, this year I tried again. Leaning to program: a better way There is another, better way to learn programming. First I suggest to you to start with programming languages which enable you to learn the basics about the language in a short amount of time. Second, when you will get more experience with simple languages you can at any time jump to more sophisticated programme languages if you want or need to. Easy to learn languages The first entries I want to mention are really simple. Manufactoria is a puzzle game about putting robots in their proper place. Bug Brain (biologic[DOT]com[DOT]au/bugbrain/) is a game where you build brains to run a bug. In A.