Html Element Snippets


27 August, 2011   

The <noscript> tag is used to provide an alternate content for users that have disabled scripts in their browser or have a browser that doesn’t support client-side scripting. The noscript element can contain all the elements that you can find inside the body element of a normal HTML page. The content inside the noscript element will...

22 August, 2011   

Here shown how to define a Custom Selector

How to calculate distance between Mouse and Element

02 July, 2012   

:first and :last (take the first element or the last element)

17 October, 2011   

Copying Folders With All Contents Including Other Folders. VB.net 2010 does not have a built in code to copy full folders with their contents but only files(one by one)!!! But you can do it by this code

22 August, 2011   

Here shown how to center an element on screen

13 February, 2011   

Check for Empty Elements

01 February, 2011   

Associative Array Syntax

24 April, 2012   

Example shown here how to Reuse Your Element Searches

Javascript append function "DOM Append Text and Element Functions"

29 January, 2011   

Cufon 101

Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is disabled and prevent flickering if JS is enabled.

07 January, 2012   

ASP code example for Looping through HTML headers

07 July, 2012   

Custom Error Pages by .htaccess file

Tries to make out of the given string a xhtml-compatible string, that means that the return-string could be wrapped within a xml.

15 September, 2012   

This will perform the action of deleting many files.

27 August, 2011   

The <frame> tag defines one particular window (frame) within a frameset. In the example below we have a frameset with two columns. The first column is set to 25% of the width of the browser window. The second column is set to 75% of the width of the browser window. The document "frame_a.htm" is put into the first column, and...

22 January, 2011   

This will work in any browser on any element, to support styling changes on hover.

18 October, 2012   

HTML style example code for background color

How to Insert comments in the HTML source code