Tag: HTML link rel

Making all external links open in a new tab or window in WordPress

[ 2 Comments ] Posted on December 15, 2009 under WordPress tweaks

Insert a PHP code in the functions.php of your WordPress theme to make all internal links open in new window or tab and all internal links on the same window without having to manually set the target window in your WordPress visual editor..

CSS and Javascript outside the HTML file

[ 2 Comments ] Posted on October 31, 2008 under Cascading Stylesheet (CSS), Hypertext Mark-up Language (HTML), Javascript, Search Engine Optimization (SEO)

Aside from placing CSS and Javascript within the head section of the HTML, we can also place them in separate external files. This enables several HTML webpages to access and use them. The results: uniform appearance of the website across several pages, elegant and simpler HTML code, and a search engine friendlier website.