Tag Archives: DOCTYPE

Smarty PHP Template Engine

smarty_preview




Introduction Smarty is a template engine that allows developers to easily separate their HTML and CSS from their PHP. It also provides added functionality such as date formatting and cycling through values. It’s caching capabilities are extremely flexible and useful in increasing performance and lowering bandwidth usage. From personal experience Smarty can decrease development time up to 40% by greatly reducing the amount of code you must write. It also makes it easier to organize your files and maintain a […]

Generate Web-Safe Fonts When Using @font-face

font-face




One of the biggest mistakes I see with people just getting introduced to the CSS3 @font-face selector is the use of regular OTF or TTF fonts in their web pages, instead of the recommended WOFF (Web Open Font Format)and EOT (Embeddable OpenType) font formats. With traditional font formats (TTF, OTF), the primary use was for print and applications that created such documents. There were no worries about compatibility across different browsers like there are when creating websites. Now with the large adoption of @font-face, web designers […]

HTML5 New Features you must know

html1




The term HTML5 should be familiar by a lot of people, since a lot of media talking about this emarging markup language However, did you exactly know what are the new Features offer by HTML5?? Here I am going to sum up the Top 15 new features of HTML5 you must know. 1. New Docype Currently a lot of web-page is using XHTML 1.0 doctype and would declare the doctype on the first line like this: <!DOCTYPE html PUBLIC "-//W3C//DTD […]