Dynamic Web Lab

Blog

Remove Width and Height Attributes from wordpress content area

When you upload images using WordPress image uploader and insert it into your post/page, it will include the image width and height attribute in the tag.if you want to remove this automatic image width and height attribute from image, you can add this code to you functions.php [php] add_filter( ‘post_thumbnail_html’, ‘remove_width_attribute’, 10 ); add_filter( ‘image_send_to_editor’, […]

Read More

HTML5 Input Type Month

HTML5 introduce new Input Type Month.This month type allows users to select a month and year.It will just select the month and year with no time zone. You can call this Input Type Month using input type="month" on your input field. Currently the latest version of Chrome, Opera and Safari browser supporting this.     […]

Read More
  • September 25, 2012
  • HTML5

HTML5 Input Type datetime

HTML5 Input Type datetime is just like Input Type Date except it will allow visitor to select a date and time (with time zone). You can call this datetime picker using input type="datetime" on your input field.This will certainly reduce your development time so need nasty Javascript code.

Read More
  • September 23, 2012
  • HTML5

HTML5 Input Type Email

A typical email address structure is [email protected] As you can never trust your website user so you have to check the email id when user submit the form. To solve this, HTML5 came with a news input type email. The syntax is as basic as a text input you just have to use type="email". Some […]

Read More
  • September 21, 2012
  • HTML5

HTML5 Input Type Date

HTML5 Input Type Date will allows the user to select a date. Previously this is done by Javascript date picker. To make you life easier you can now call this date picker by simply using this type="date" on your input field. May be looks like this way : [php]<input type="date" name="birthday" />[/php] Currently the latest […]

Read More
  • September 19, 2012
  • HTML5

HTML5 Input Type Color

You can get color input box in html5 with this attribute type="color". With this new html5 Input Type Color, you no longer need a complex Javascript color picker. Not all major browsers support all the new input types. Only latest version of Chrome and Opera support this. If the browser are not supported, they will […]

Read More

What is jQuery Mobile

jQuery Mobile is a HTML5 based user interface system for all popular mobile device platforms.It built on the rock-solid jQuery and jQuery UI foundation. jQuery mobile framework takes the “write less, do more” mantra to the next level: Instead of writing unique apps for each mobile device or OS, the jQuery mobile framework allows you […]

Read More
  • September 17, 2012
  • HTML5

HTML5 Autocomplete Attribute

When HTML5 autocomplete is on, the browser will automatically complete values that the user has entered before. This HTML5 autocomplete attribute works with the following input types: text, search, url, tel, email, password, datepickers, range, and color. Also you can turn off this autocomplete attribute by using this attribute autocomplete="off" [php] <form action="/" autocomplete="on"> First […]

Read More
  • September 16, 2012
  • SEO

Best SEO Plugins For WordPress 2012

On my previous article for optimizing WordPress for seo i showed how some basic change on wordpress and installing some plugin can improve your website seo. Now i recommend to use WordPress SEO by Yoast along with those steps. This plugin have the following features : Page Analysis Technical WordPress Search Engine Optimization XML Sitemaps […]

Read More
  • September 15, 2012
  • HTML5

HTML5 input autofocus Attribute

HTML5 allows us input autofocus attribute on elements when page loads. This is accomplished by using the autofocus attribute. Using this autofocus attribute the INPUT, TEXTAREA, or BUTTON element will be automatically selected on page load. The best part is no JavaScript is needed. This autofocus attribute can be set using this 3 ways : […]

Read More