Skip to main content

Posts

Showing posts from September, 2015

HOW TO REDUCE HTML CODING.

There is many way to reduce html code. 1. Properly read the psd file and make a plan of code. 2. Use only single class all over the site which property is same everywhere. 3. Get rid of Header Footer by calling method. Header and footer almost same on all pages. so do not type or paste all code again again. It Seams disgusting Here  am gona tell you some method of reducing code USING JS METHOD Write Header code in header.js file. Example:- document.write(--------here write your header code in a single line without spacing--------);  and save it. call it call it in your page <script src="path your file">  USING EMBED METHOD Embed in mostly used on html5 sites. this dose not support some old version of browser. same process here you can save your file in .txt , .html, .js . < embed src= "path" > Your can use these methods for reducing code of your site. and can save time.