Category Archives: HTML

Print using JavaScript

If you would like to print your HTML page contents using your printer, here is a one line javascript: Code Explain: <a href=”” : This is for the mouse hand to appear when mouse hover over print icon. onclick=”” : … Continue reading

Posted in HTML, JavaScript, Programming | Leave a comment

background-image: url

If your image is in folder project\images and your css file is in project\css , then in css file the path should be : background-image: url (‘../images/bg.jpg’); Why ../ ? Because image folder is parallel to css folder, and you … Continue reading

Posted in CSS, HTML, Programming | Tagged , , , | Leave a comment