Press ESC to close

Or check our Popular Categories...

HTML

37   Articles
37

HTML – Hyper Text Markup Language is the standard markup language used for structuring web pages and formatting content. HTML describes the structure of a website semantically along with cues for presentation, making it a markup language, rather than a programming language. The most recent revision to the HTML specification is HTML5.1.

4 Min Read
0 15

PROBLEM: How to Modify the URL without reloading the page? SOLUTION 1: Updating address bar with new URL without hash or reloading the page Example: [pastacode lang=”javascript” manual=”%20function%20processAjaxData(response%2C%20urlPath)%0A%7B%0A%20%20%20%20%20document.getElementById(%22content%22).innerHTML%20%3D%20response.html%3B%0A%20%20%20%20%20document.title%20%3D%20response.pageTitle%3B%0A%20%20%20%20%20window.history.pushState(%7B%22html%22%3Aresponse.html%2C%22pageTitle%22%3Aresponse.pageTitle%7D%2C%22%22%2C%20urlPath)%3B%0A%20%7D%0A%0A” message=”javascript code”…

Continue Reading
3 Min Read
0 3

PROBLEM: Using conditional comments it is easy to target Internet Explorer with browser-specific CSS rules: [pastacode lang=”css” manual=”%3C!–%5Bif%20IE%206%5D%3E%0A…include%20IE6-specific%20stylesheet%20here…%0A%3C!%5Bendif%5D–%3E%0A” message=”css code” highlight=”” provider=”manual”/] Sometimes it is the Gecko engine (Firefox) that…

Continue Reading
4 Min Read
0 6

PROBLEM : How to Hide the scrollbar on an HTML page using CSS ? [pastacode lang=”markup” manual=”%3Cstyle%20type%3D%22text%2Fcss%22%3E%0Abody%20%7B%0A%20%20%20%20overflow%3Ahidden%3B%0A%7D%0A%09%09%20%20%20%20%20%20%20%20%20%20%3C%2Fstyle%3E%0A” message=”Html Code” highlight=”” provider=”manual”/] SOLUTION 1: Set overflow: hidden; on the body tag…

Continue Reading