Truncate Text Snippets


C++ source code for Output console text with type-writer effect

06 July, 2013   

Draws angled text on a canvas at position X,Y.

14 January, 2013   

This is a simple example of an embedded stylesheet.

20 November, 2012   

An example of embedded stylesheet. This code goes into the <head> of your HTML document.

13 June, 2016   

As a "preview" of text, this MySQL select will return the first few words out of a text field in a database. It returns entire words (doesn't cut them off in the middle) and follows the last word with an elipse "..."

This example code shows how to make text inputs with rounded corners.

MySQL MATCH() function performs a natural language search for a string against a text

Append Non-Breaking Space Between Last Two Words

09 November, 2011   

Here an example how to set the width of the four borders

27 August, 2012   

HTML code for Top & Bottom Halves Layout

16 February, 2011   

HTML5 Article Structure with hNews

HTML5 code for Article Structure with hNews

18 March, 2015   

Example shows how to load a text file

20 March, 2012   

HTML code example for Style HTML elements

30 March, 2013   

Example HTML code to draw a border around form-data

Lisp code for RTML and facebook like button

15 March, 2011   

Some people are unaware that it is possible to change the color when you highlight text in your browser. It is so easy to with two selectors; just be careful you don’t ruin your site with it.

26 July, 2012   

Java code example to append text to file in Java

Note: The ASP.Net RadioButtons must be set with exact same GroupName property in order to make them mutually exclusive.

06 October, 2012   

Code for dynamic add css file in header