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’, […]
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. […]