Login:  Password:    
forgot my password
sign up!
Search: 
 
  This post is part of:
    Online course(s):   
 Course HTML 5 - an introduction of the new web language

Form Elements and Attributes - Course HTML 5 - an introduction of the new web language - Lesson 6 | web Developer courses

In this video, we looked at the new atttributes that are supported for HTML 5 elements.

"

Duration:  19 minutes

Summary: In this video, we looked at the new atttributes that are supported for HTML 5 elements. We started by creating a form asking the user to enter his/her information. The form has a submit and clear buttons. The input element now supports new attributes. We are able to put a placeholder that displays some text the serves as a hint for the user to know what the type and in what format. We can also use the required attribute to surround the input with a red border to inform the user about the error. When the user hovers over the text box, he/she will get a message. We also see that there are other types that are supported like email, tel (for telephone number), and url (for the wesite url). By simply adding this type, you get the support of errors when the item is in the wrong format. Finally, we saw the type range that represents a range of values with min and max attributes. Note that these features did not work when we tested them with Firefox 3.6.But they work well with Firefox 4.06 beta.

Technology Used: HTML 5 - Introduction

Keywords: HTML 5, placeholder, required, autocomplete, email, tel, url, range, min, max.





Add a comment!
[Fechar]

Este post é fechado - você precisa ter acesso ao post para incluir um comentário.


No comment was posted yet - be the first!



 
Help us to improve! Give us your feedback:
Give your note to the technical content
10 9 8 7 6 5 4 3 2 1
Give your note to the post's learning
10 9 8 7 6 5 4 3 2 1
Is this post helpful?
Yes No


Ayad Boudiab
Experience: A total of 10 years experience in developing applications using C++, Java, C#, ASP.NET, and SQL Server. In addition to 6 years experience in teaching programming courses at a local college. Degree: B.S. Computer Science Location: Atla...


Go to author's Space


Post stats:
Favorited:
 0

Post actions:
[Close]
To have full access to this post (or download the associated files) you must have MrBool Credits.

  See the prices for this post in Mr.Bool Credits System below:

Individually – in this case the price for this post is US$ 2,00 (Buy it now)
in this case you will buy only this video by paying the full price with no discount.

Package of 10 credits - in this case the price for this post is US$ 1,00
This subscription is ideal if you want to download few videos. In this plan you will receive a discount of 50% in each video. Subscribe for this package!

Package of 50 credits – in this case the price for this post is US$ 0,33
This subscription is ideal if you want to download several videos. In this plan you will receive a discount of 83% in each video. Subscribe for this package!


> More info about MrBool Credits








mrbool.com
contact us   |   publish your post   |   buy credits

Copyright 2012 - all rights reserved to www.web-03.net