CSS3 techniques you should know

CSS3 is taking web development and web design to a higher level. In this article, I have compiled examples of amazing CSS3 techniques that will probably become very popular when CSS3 will be fully supported by most browsers.

Color animate any shape with CSS3 and a PNG


Let’s start this compilation with an interesting effect created using only CSS3: A png image with a changing background. The background is using CSS3 transitions. Not the kind of effect you’ll put on your website, but definitely an interesting demo of what CSS3 can do.
View source: http://jsfiddle.net/chriscoyier/vhKhT/

Continue reading

Advertisements

Reach viewers on mobile devices, everywhere

The tag in HTML5 is a great thing. It enables native video playback in all current browsers, rather than relying on a plugin like Flash. It opens the door to web video on devices that don’t support Flash. And it enables codecs that previously weren’t web playable.

But if you’re publishing video content, this can be confusing. To really support web video, how many output versions do you need to create? WebM, Ogg, and MP4? What about iPhone or Android? What about low/medium/high bitrate versions?

There isn’t a single answer to this question, so here is a short guide to picking outputs for HTML5 video.

Continue reading

Make HTML 5 Video Work in All Browsers Including Mobile

via Make HTML 5 Video Work in All Browsers Including Mobile | Blackstone Blog.

There are a number of post circulating the web on how to make the HTML5 video tag work… but most of them focus on either desktop browsers, or how to get HTML5 video working in a mobile browser. No one had straightforward steps on how to make HTML5 video work in every browser AND the major mobile browsers. Never fear, I have pieced together code and tricks from many different resources and have compiled a complete step by step process to getting HTML5 video working across all browsers.

Continue reading

The article element

via The article element | HTML5 Doctor.

We’ve discussed a lot of new elements here at HTML5Doctor, but the article element has somehow escaped the microscope… until now! article is one of the new sectioning elements. It is often confused with section and div but don’t worry we’ll explain the difference between them.

What the spec says

Thankfully, the spec is short and sweet:

The article element represents a component of a page that consists of a self-contained composition in a document, page, application, or site and that is intended to be independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content.

W3C Specification

Continue reading

HTML5 Diagnostics With CSS

Whether you are working with a third party CSS code, or explore weird CSS quirks in your own code, often you have to dedicated some time for lengthy debugging sessions. But there is a little helper for you: Holmes makes it easy to find errant mark-up.

Essentially, the tool a diagnostic CSS style sheet that highlights possibly invalid or erroneous mark-up. Just add a single class, and it will create a red border around errors, a yellow border around warnings and a gray border around deprecated styles. In addition to the downloadable CSS style sheet, there’s also a Holmes bookmarklet that lets you apply holmes.css to any page in your browser. (cc)

Read More By: http://www.red-root.com/sandbox/holmes/

20+ Useful CSS3 and HTML5 Frameworks, Tools and Templates

I hope you have heard a little about CSS3 and HTML5. And I’m sure you’ve used at least one of the cool features they offer. But now it is time to use them at their full (or almost full) power.

You may be asking yourself “It is time to change? Should I forget everything I know and dive into this new world?”. Well dear padawan, you don’t need to do so. We have a lot of tools that make our transition to new and better technologies safer (ultimately we can’t just crash our customer’s website, we have bills to pay :D).

Frameworks are helpful with this. They’ve already been tried, tested and proven. Of course, you can always make them better, but they are a really good starting point.

This time we will talk a little about frameworks and other tools, like generators and templates.

So, let’s rock.

20+ Useful CSS3 and HTML5 Frameworks, Tools and Templates

Continue reading

Jeffery Zeldman: HTML5 vs. HTML

THANKS TO THE WORK of the WHAT WG, the orations of Steve, the acclaim of developers, and a dash of tasteful pamphleteering, the W3C finally has a hit technology on its hands. Indeed, it has a cluster of hot technologies, the latest incarnation of what we’ve been calling “web standards” since we began fighting for them in 1998, when browser support for HTML, CSS, and JavaScript was inconsistent, incomplete, and incompatible, and the kingmakers of the day couldn’t have cared less. Moreover, after 13 years, the W3C has finally learned that it’s okay to market to your constituents—okay to actively encourage standards adoption.

Continue reading

Apps vs. the Web

by Craig Hockenberry

Pull the iPhone out of your pocket and look at the home screen. Likely, you’re seeing some well known brands on the web: Facebook, Flickr, and Google to name just a few. You’ll also see companies like Amazon, Target, and Walmart which sell a lot of products via the web.

Like you, these sites and companies know how to build an effective website using the latest and greatest web technologies. The iPhone’s Safari browser also supports HTML5 markup with CSS3 styling and is powered by a fast JavaScript engine. So why is there a proliferation of apps instead of web pages that can do the same thing?

Longtime A List Apart readers may remember the Put Your Content in My Pocket articles I wrote soon after the iPhone launched. Recently, I published a book that explains how to create products for the iPhone App Store. With this article, I’d like to share my experiences with both mobile web and software development to guide your future developments on the iPhone platform.

Apple ❤ standards

From Apple’s point of view, iPhone OS and web technologies share equal footing. When you visit their developer site, the Safari Dev Center is prominently displayed. The iPhone gets all the press, but when you click on Safari Dev Center, there’s a ton of great information that explains how to use HTML, CSS, and JavaScript on an iPhone.

When you look back on your first experiences with the iPhone, one app stands above the others: The Safari web browser. Suddenly you were free from a mobile internet full of crappy CSS support or dumbed down presentation-like WAP. The iPhone’s real browser and the fact that it was in your pocket changed how you used the web.

Apple continues to invest heavily in the development of the WebKit browser engine used in Safari on the iPhone, Mac, and Windows. The result is a browser that excels in HTML5 and CSS3 support.

Continue reading

A Brief History of Markup

Chapter one of HTML5 For Web Designers.

HTML is the unifying language of the World Wide Web. Using just the simple tags it contains, the human race has created an astoundingly diverse network of hyperlinked documents, from Amazon, eBay, and Wikipedia, to personal blogs and websites dedicated to cats that look like Hitler.

HTML5 is the latest iteration of this lingua franca. While it is the most ambitious change to our common tongue, this isn’t the first time that HTML has been updated. The language has been evolving from the start.

As with the web itself, the HyperText Markup Language was the brainchild of Sir Tim Berners-Lee. In 1991 he wrote a document called “HTML Tags” in which he proposed fewer than two dozen elements that could be used for writing web pages.

Sir Tim didn’t come up with the idea of using tags consisting of words between angle brackets; those kinds of tags already existed in the SGML (Standard Generalized Markup Language) format. Rather than inventing a new standard, Sir Tim saw the benefit of building on top of what already existed—a trend that can still be seen in the development of HTML5. Continue reading

Is it really necessary to validate the code?

It’s the mania of those who tend to perfection and write the code with almost a maniacal accuracy,  to see the green  check mark that indicates that the code of the web page newly developed passed the validation control. But what does validating a code mean? And why is convenient validate the code? And yet, is it always necessary to pass the validation or there can be some exceptions?

First things first, in this article we’ll try to answer to all the interrogatives posted and with which many developers find themselves facing everyday.

What does writing a valid or standard code mean?

Let’s starting saying what is meant for “writing a valid or standard code“.

A bit of history

There’s an international no-profit organization, composed of a group of experts that have been working years on standardizing the languages and technologies for the web. Such organization is called  World Wide Web Consortium (or W3C).

The web standards

The W3C in the course of the years has established the standards that have the task to define the syntax and the markers (tag) to use in the creation of  any kind of web document. Therefore following these standards  web contents are more usable to all the users regardless the type of browser used and in some cases (if even the accessibility guidelines are respected) also by the interpreter in use (for example, normal browsers, browsers based on devices of vocal syntax, mobile phones, personal computers for auto, etc.)

Read More by: http://www.yourinspirationweb.com/