HTML5- How it Advance Your Web Development?

22
HOW HTML5 & CSS3 BOOST THE WEB DEVELOPMENT?

description

HTML5 technology are broadly pushed by Google and Mozilla since as of late the examiners have prescribed that the next-gen applications are incredibly responsive and incorporate a plenty of upgrades and characteristics.

Transcript of HTML5- How it Advance Your Web Development?

Page 1: HTML5- How it Advance Your Web Development?

HOW HTML5 & CSS3 BOOST THE WEB DEVELOPMENT?

Page 2: HTML5- How it Advance Your Web Development?

Content at a GlancePrefaceHTML5:The Platform vs. the SpecificationHow This Works

An Overview Of HTML5 & CSS3A Platform For Web DevelopmentBackward Compatibility

How HTML5 & CSS3 Boost The Web Development?1.Improving User Interfaces1.1 New Structural and Tag Attributes1.2Creating User-Friendly Web Forms

2.Making Better User Interface With CSS32.1 Building Mobile Interface with Media Queries

Page 3: HTML5- How it Advance Your Web Development?

3. Improving Accessibility3.1 Providing Navigation Hints with ARIA Roles

4. New Sight & Sound4.1 Drawing On Canvas4.2 Eye Candy

5. Future Enhancements5.1 CSS Transitions5.2 WebGL5.3 Indexed Database APIs

Conclusion

Page 4: HTML5- How it Advance Your Web Development?

Preface

Just three months are like a year if you spend it on web. This is the pretty experience of much of the web developers. Sometime before HTML5 and CSS3 looks like far off in the way but now many companies are using this technologies.

HTML5 and CSS3 is a building block for the next era of web applications. Here we are going to find about all the ways you can use HTML5 and CSS3.Before starting let’s t have a look on HTML5 and CSS3 buzzwords.

Page 5: HTML5- How it Advance Your Web Development?

HTML5: The Platform vs. the Specification

HTML is a specification that describes some new tags & markup, as well as some wonderful JavaScript APIs, but it’s getting caught up in whirlwind of hype and promises. In some cases pieces from the CSS3 specification such as shadow, gradients and transformations are being called “HTML.”

We’ll focus on the HTML5 and CSS3 specifications themselves and how you can the techniques they describe. We’ll look into a suit of specifications that were once part of HTML5 but are in use right now on multiple platforms.

Page 6: HTML5- How it Advance Your Web Development?
Page 7: HTML5- How it Advance Your Web Development?

How This Works

Here we focuses on a specific group of problems that we can solve with HTML5 and CSS3. We introduce you to specific concept and walk you through building a simple example using the concept.

We are focusing on what you are using today. There are more HTML5 and CSS3 features that aren’t in widespread use yet. So let’s start your web journey with us.

Page 8: HTML5- How it Advance Your Web Development?

An Overview Of HTML5 & CSS3

HTML5 and CSS3 are two new standards proposed by W3C and its working groups. It is a new era of technologies you use every day for web applications. Before we dive in deep details of HTML5 and CSS3 let’s talk about some benefits and challenges we’ll face.

Page 9: HTML5- How it Advance Your Web Development?

A Platform For Web Development

A lot of new features of HTML center around for creating web based applications. From more descriptive tags and better cross site and cross window communication to animations and multimedia support, developers using many HTML5 and CSS3 have a lot of new tools for better user experience and to make richer and more interactive applications on the web.

Now the question is that how HTML5 and CSS3 provide advance benefits in web application? You will see how all of those unpredictable benefits you will gain. So let’s start.

Page 10: HTML5- How it Advance Your Web Development?

Backward Compatibility

If you have worked with HTML or XML you’ve come across the doctype declaration before. It is used to tell validators and editors what tags and attributes you can use and how the document should be formed. Lot of web browsers used it to determine how the browser will render the page. A valid doctype causes browsers to render pages in “standard mode.”

Page 11: HTML5- How it Advance Your Web Development?

HTML5 for Web Development

Page 12: HTML5- How it Advance Your Web Development?

1.Improving User Interfaces1.1 New Structural and Tag Attributes

I’d like to talk about a serious problem affecting many web developers today. Most of the developers affected by Divitis ,they wrap elements with extra div tags with IDs such as banner, sidebar, article, and footer-is rampant.

HTML5 specification provides a cure in the form of new semantic tags that describe the content they contain.

For example: <header> Defines a header region of the page or section. <footer> Defines a footer region of the page or section. <nav> Defines a navigation section of the page or section.

Page 13: HTML5- How it Advance Your Web Development?

1.2 Creating User-Friendly Web Forms

You turn to Prototype or JQuery, or you roll your own controls and features using a combinations of HTML,CSS and JavaScript. Now here are the some new attribute to turn any HTML field into a user input control.

For example: Email field [<input type=“email”>] Display a form field for email address. URL field [<input type=“url”>] Display a form field for URLs. Search field [<input type=“search”> Display a form field for search keywords.

Page 14: HTML5- How it Advance Your Web Development?

2.Making Better User Interface With CSS32.1 Building Mobile Interface with Media Queries

We’ve been able to media specific style sheets .We can use media queries to determine the following:

• Resolution• Orientation• Device width and height • Width and height of the browser window

Page 15: HTML5- How it Advance Your Web Development?

3. Improving Accessibility3.1 Providing Navigation Hints with ARIA

RolesHTML5’s new role attribute lets us assign “accessibility” to each element on your page..Accessibility for Rich Internet Applications (ARIA) is a specification that provides ways to improve the accessibility of websites. There are classification of roles that you can put to use now are landmark role and document role.HTML5 says that some elements have default roles and can’t be overridden.

Page 16: HTML5- How it Advance Your Web Development?

4. New Sight & Sound4.1 Drawing On Canvas

Canvas is nothing but a 2D drawing platform within the browser that uses nothing more than JavaScript and HTML with no plugins. Canvas is extensible through a JavaScript API. Now it is openly developed as a W3C specifications. There are the some feature and uses of canvas:

• Canvas is bitmap system• Used for data visualization• Animated Graphics• Web applications• Games

Page 17: HTML5- How it Advance Your Web Development?

4.2 Eye Candy

ONE of the first things you'll notice about the new Windows Vista operating system from Microsoft is the serious amount of eye candy that comes at you.

It requires the new graphical user interface that makes better use of today's powerful graphics hardware. You need a minimum of 128MB of video memory on your 3D graphics card, 1 gigabyte of system memory and a processor running at 1 gigahertz to enjoy the show. 

Page 18: HTML5- How it Advance Your Web Development?

5.Future Enhancement5.1 CSS Transitions

Interaction invitation are important to good user experience design, and CSS has supported pseudoclasses so that we can do some basic interaction cues on our elements.

Page 19: HTML5- How it Advance Your Web Development?

5.2 WebGL WebGL describes how to work with 3D objects. The

WebGL specification isn’t part of HTML5, but Apple, Google, Opera, and Mozilla are part of the working group and support in their browsers.

Page 20: HTML5- How it Advance Your Web Development?

5.3 Indexed Database APIs

Index Database API is a key/value store similar to the web storage APIs like localStorage and sessionStorage, but it provides methods for performing advanced queries.

Page 21: HTML5- How it Advance Your Web Development?

Conclusion

If you follow the progress of HTML5 and CSS3 and stay up-to-date with what’s happening, you’ll be fine. All these are not final specifications for web development anything in those could change. While Firefox, Chrome, and Safari have strong HTML5 support. But before you think too much about the future, let's start working with HTML5.

Page 22: HTML5- How it Advance Your Web Development?

Mobile Pundits