A Run Down Of HTML5 (Part 2)

Last year I started on this article about HTML5. In that article I focused mainly on the various tags as far as the additions and removals since HTML 4.01/XHTML 1.0. Today I continue with HTML5 Tags’ Standard and Event Attributes. If you did not read the previous article you can find it here. I recommend starting off there before proceeding with this one.

With a few exceptions the following Standard Attributes apply to all the HTML5 tags. In no particular order, the Standard Attributes that were introduced in HTML5 are:

contenteditable
This has a value of either “true” or “false”.
Just as the name implies, this specifies that the user isn’t or is allowed to edit the content.

contextmenu
The value is a menu_id.
Basically it is the context menu for the element.

data-yourvalue
This has a non-specified value which can be anything appended to the label.
It is an author defined attribute. It must start with “data-”. It is good to note here that authors of HTML documents can define their own attributes.

draggable
This has a value of either “auto”, “true” or “false”.
This specifies whether a user is allowed to drag an element or not.

hidden
The label itself is the value
This specifies that the element is not displayed.

item
This value usually contains a URL or can be empty.
It is used to group elements.

itemprop
This value usually contains a url.
It is used to group elements.

spellcheck
This has a value of either “true” or “false”.
Specifies whether the elements contents must be checked for spelling or grammatical errors.

 

Related posts:

  1. A Run Down Of HTML5 (Part 1)
  2. Is it Safe to develop with HTML5?
  3. Pros and Cons of Adobe Flash Video Vs HTML5 Video
  4. More Fun Things To Do With Google Chrome (Part 2)

 

Related Websites

  • How Microsoft lost this customer (& hotmail issues) Users of Microsoft's Hotmail service have been finding their service interrupted. The service has been restored apparently, but many people are upset. Microsoft is huge and they can likely weather this storm... But could you? Is Gmail and Yahoo mail...
  • Making the Most Out of Competition by Running for Charity Charity is alive and well in the modern culture. This is seen in the donation drives as well as the charitable events which are held every day. For those who are into running, there are many ways you can do...
  • Starting an online store I'm often asked what I do for living. My answer? "I'm an IT manager and internet entrepreneur." IT manager doesn't sound too exciting, but internet entrepreneur always grabs people's attention. I used to answer the question with "blogger" instead of...
  • Park City Mountain Resort, Park City, UT Park City Mountain Resort is located in: Park City, UT Phone: (800) 222-7275 Website: http://www.parkcitymountain.com/winter/index.html About the Resort: Park City Mountain Resort is considered by many to be one of the finest ski resorts in the world. With a great...
  • Review of Android 2.2 on the Nexus One [/caption] By Ryan Paul ARS TECHNICA Google is rolling out Android 2.2, codenamed Froyo, to Nexus One handsets. The new version of the operating system brings an extremely noticeable performance boost, a handful of impressive new features, some minor user...

 

 

One Response to “A Run Down Of HTML5 (Part 2)”

Leave a Reply

    © 2003, 2010 Sobbayi's Tech Labs

Home Blog Home About Newsletter