HTML5

HTML 5 – Using attribute ‘id’ instead of attribute ‘name’ for Anchors

HTML 5As discussed on stackoverflow.com HTML Anchors with ‘name’ or ‘id’?

According to the HTML 5 specification, we should use id attribute instead of name for anchors.

Right:

<a id="anchorname"></a>
<h1 id="anchorname">TEXT</h1>

Wrong:

<a name="anchorname"></a>

Insisting on using name attribute might cause many problems, such as “browser not scrolling to the right anchor position
Continue reading…

How to Reinstall WordPress Plugins Wisely

Reinstalling WordPress itself is very easy, just go to Update Center and hit the reinstall button.

reinstall WordPress is easy

How about reinstalling plugins? You might answer :

I firstly remove the old plugin then install it again.  OR I firstly remove it then go to FTP and upload a fresh new copy.

Come on, that’s so silly, and slow. Here’s a quick handy way of reinstalling WordPress plugins and themes (from WordPress.org)
Continue reading…