Author:
Password:

This is just a HTML parser in Java. Or call it a XML parser which can support HTML elements. It can at least support html with correct syntax or a bit of syntax error. I tried to make it easy to use.

Use example:

Parser parser = new Parser();
parser.ignoreUnmatchedClosingTag = true;
parser.ignoreUnmatch
Tag:
HTML
Java Tools
0 replys / 52 views.
Reply

This is not something difficult. However, I didn't find this after browsing hundreds of webpages.

It is simply http://graph.facebook.com/$fid/picture. The $fid is the facebook id.
The usage is simply < img src="http://graph.facebook.com/$fid/picture" />
Here is the result of me:

After several hou

Tag:
HTML
Facebook
1 reply / 1252 views.
Reply

Recently, a requirement about display images using JS came to me.
The requirement is like: in a div, display 3 images. After 6 seconds, display 3 other images. The problem is: the images have to go across the Internet, and the end user will wait when the images are loading.

And I came w

Tag:
HTML
JavaScript
0 replys / 1008 views.
Reply

This is a result of several hours' hard-wording, so please keep my name there if possible when you are using it.

Test case:

 echo htmlEscape(closeHtmlTags("<a>a")).'<br />'; // should be closed.
 echo htmlEscape(closeHtmlTags("<_a>a")).'<br />'; // _a is not a valid ht




Tag:
PHP
HTML
0 replys / 904 views.
Reply

Have a dynamic website already? Want to add new information frequently? And - want to let the search engine and user know the updating of the website?

RSS is a good choice.

To give a hyperlink to RSS page is one choice.
In IE 7 after, there is a "Feed" button on the top. That one is surely mo

Tag:
RSS
HTML
Collected
0 replys / 747 views.
Reply

I was working on a project which requires me to format a html page with CSS to enable a running sequence of a nested ordered list. As far as I concern, HTML and CSS does not provide the format look like in the word doc. I tried to search from the internet but there is no suitable

Tag:
CSS
HTML
0 replys / 1717 views.
Reply
View the latest 5 entries.