HTML 5

Mar 22, 2013, by admin

What is HTML ?

HTML5 is a markup language for structuring and presenting content for the World Wide Web and a core technology of the Internet. It is the fifth revision of the HTML standard The previous version of HTML, HTML 4.01

New In HTML :

HTML5 defines a variety of new input types: sliders, number spinners, popup calendars, color choosers, autocompleting suggest boxes, and more. The beauty of these elements is that you can use them now: for browsers that don’t support a particular input type, there is automatic fallback to standard textfields. There are two keys to understanding why the automatic fallback works consistently in all major browsers

HTML5 New Input Types

HTML5 has several new input types for forms. These new features allow better input control and validation

  • color
  • date
  • datetime
  • datetime-local
  • email
  • month
  • number
  • range
  • search
  • tel
  • time
  • url
  • week

 color

The color type is used for input fields that should contain a color

Select your favorite color: <input type=”color” name=”favcolor”>

date

Birthday: <input type=”date” name=”bday”>

datetime

Birthday (date and time): <input type=”datetime” name=”bdaytime”>

datetime-local

Birthday (date and time): <input type=”datetime-local” name=”bdaytime”>

email

E-mail: <input type=”email” name=”usremail”>

month

Birthday (month and year): <input type=”month” name=”bdaymonth”>

number

Quantity (between 1 and 5): <input type=”number” name=”quantity” min=”1″ max=”5″>

range

<input type=”range” name=”points” min=”1″ max=”10″>

search

Search Google: <input type=”search” name=”googlesearch”>

tel

Telephone: <input type=”tel” name=”usrtel”>

time

Select a time: <input type=”time” name=”usr_time”>

url

Add your homepage: <input type=”url” name=”homepage”>

week

Select a week: <input type=”week” name=”week_year”>

Tag

<input> Defines an input control

HTML New Logo

The HTML has released its new logo

Reference Site

http://www.w3schools.com

http://en.wikipedia.org