• Skip to content
  • Skip to primary sidebar

The html blog

The web sandbox

You are here: Home / Archives for html

html

8 practical tips to make your web pages faster

September 29, 2017 By thehtmlblog Leave a Comment

Yahoo’s Exceptional Performance team has compiled a list of 34 best practices to have faster web pages. In this post I’ll show you 8 tips which helped me to get a B grade in YSlow! for web pages that I develop. Currently YSlow’s web page analysis is based on 13 identified basic rules that affect web page performance. In decreasing […]

Filed Under: Javascript, Web Tagged With: apache, best practices, fast, html, Javascript, mod_deflate, mod_expires, performance, PHP, speed up, Web, yahoo

Show/hide containers by only adding CSS classes without writing javascript code (YUI-based)

September 29, 2017 By thehtmlblog Leave a Comment

This post will show you how to add the collapse/expand functionality in your HTML pages, perfect for FAQs by only adding two class names to your existing page and including the scripts below. Of course it’s all YUI-based and also a demo of the fantastic YUI selector utility. What does the script do ? OK, suppose […]

Filed Under: Javascript Tagged With: collapse, css, div, expand, html, Javascript, selector, yahoo, yui

SEO friendly URL in PHP

September 29, 2017 By thehtmlblog Leave a Comment

When I started implementing mod_rewrite in websites I had a problem in PHP as how to make a SEO friendly URL. All tutorials were geared towards how to implement mod_rewrite, about modifying .htaccess files, but none treated how to make the urls friendly with dynamic content. For example I have a news section which are pulled from the database, […]

Filed Under: php Tagged With: apache, clean url, french characters, friendly, html, mod_rewrite, modifier, optimization, PHP, plugin, seo, smarty, template engine, url

HTML entities within XSL

September 29, 2017 By thehtmlblog Leave a Comment

You want to have in your XSL stylesheet but you’re getting an error, just put these few lines of code at the top, before the tag : <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp “&#160;”> <!ENTITY AElig “&#198;”> <!ENTITY AMP “&amp;#38;”> <!ENTITY Aacute “&#193;”> <!ENTITY Acirc “&#194;”> <!ENTITY Agrave “&#192;”> <!ENTITY Alpha “&#913;”> <!ENTITY Aring “&#197;”> <!ENTITY […]

Filed Under: XML Tagged With: entities, html, stylesheet, xml, xsl

10 starting signs of a good web developer (php version)

September 29, 2017 By thehtmlblog Leave a Comment

Nowadays many people call themselves PHP programmers / web developers as soon as they know a bit of Frontpage or using Dreamweaver to generate the code for them. But are they really good web developers? Here’s my top 10 characteristics of good web developers, feel free to comment. 1. Ability to hand code Instead of […]

Filed Under: php Tagged With: eclipse, firefox, good, html, IDE, Javascript, memcache, news, PHP, practice, smarty, standards, templating, w3c, Web, web developer

Primary Sidebar

Subscribe and never miss a post

Categories

  • Hosting
  • Javascript
  • php
  • Web
  • XML

Copyright © 2021 · htmlblog.net