Percent symbols are confusing in Windows bat scripts because they are designed with different meanings in different situations. The most occurrences of percent symbols are like %xxx%, where xxx is […]

This seems an old topic. If you ever learned C programming language, you must know the search rules for the header files. The search rules of gcc for headers are […]

qt .pro.user file illustrated

When you open the .pro file of a Qt project at the first time, you will be prompted to configure the project. The “Configure Project” dialog shows you the available […]

CSS overflow and overflow-wrap seem easy to understand, but I find no document gives you clear explanation. I mean you can understand their definition by reading those document, but only […]

How to make div as button in html?

You  are taught by HTML books to make a button using the <button> tag. But you’ll soon be disappointed in real world because you can hardly find a button created […]

How to make text center align in div?

You may think it is easy to center text in div: tml> <head> </head> <body> <div style=”background-color:red;width:100px;height:100px;text-align:center;”> subscribe </div> </body> </html> In the above example, you want to use the […]

How to show div in one line with CSS? You know  div is a block element which is shown on a separated line by default. Only inline elements such as […]

I do not know why I never considered when javascript code is executed on a webpage, but it is indeed an important issue. Consider the following example: <html> <head> <script> […]

I have been looking for a way to add javascript in wordpress post. This seems an advanced technique as in most cases you write text not code in a post. […]