10 Simple But Critical Tips For Creating Better Online Small Business

The road to success for small businesses is not easy though it can be thrilling.

You feel like you are on a roller coaster with the many turns, ups and downs and loops that you encounter along the way.

One of the most important criteria is to have continuous cash flow and try to make yourself financially secure with th Continue reading

Posted in Small Business | Leave a comment

HTML5 structural tags and specification definitions

HTML5 Tags can be categorized as follows.

In this article we will review Structural Tags.

In HTML4, other than h1 to h6 tags none of the elements define document structure.
Although it is common practice to add divs with meaningful name of id or class attributes, in reality this gives not meaning additional meaning to page structure.

To help authors to provide more control over HTML documents, HTML5 introduces several new structural tags. This tags can let you to replace div tags with meaningful semantic markup.


Continue reading

Posted in Web Application Development | Leave a comment

Using jQuery Selectors

The jQuery library let us easily access elements or groups of elements in the Document Object Model (DOM)

A jQuery Selector is a function which makes use of expressions to find out matching elements from a DOM based on the given criteria.

CSS selectors:

Selector Purpose
tagname Find all elements that are named tagname
#identifier Find elements with ID of identifier
.className Finds all elements that have class attribute with the value className
tag.className Gets elements of type tag that have attribute with value of className
tag#id.className Retrieves the tag element that has an ID of id and a class attribute with the value of className
* Find all of the elements on the page

Using jQuery vs. using the plan browser DOM

Continue reading

Posted in Business Booster e-Tricks | Leave a comment

Set and Get Cookies in PHP

We can interact with our user and user browsers using cookies.

Cookies are a way for a server to store information on the user’s machine. This is one way that a site can remember or track a user over the course of a visit. Think of a cookie as being like a name tag: you tell the server your name and it gives you a sticker to wear. Then it can know who you are by referring back to that name tag.

Our web server can make a request to users’ web browser to send back a cookie. Cookies are going to be accessed in same way $_GET and $_POST work.

How to set cookie?

Setting cookies going to take following format.


$name is name of cookie. $value is cookie’s value and $expire sets cookie expiry time as unix timstamp. $name, $value and $expire are essential parameters for setting cookies.

setcookie needs to happen before any HTML is sent that includes white space such as single space, a tab.

Continue reading

Posted in Business Booster e-Tricks | Leave a comment

Adding JavaScript to HTML – Best Practices

To embed JavaScript within an HTML page, use the script element:


In earlier versions of HTML, the tag’s type attribute was required, and should have a value of text/javascript. That’s no longer the case in HTML5. If you’re using an older version of HTML, then do use type.

The JavaScript code is then placed between the opening and closing script tags. When the browser loads the Web page, it will execute the code found there.

Alternatively, the JavaScript code can be stored in an external file that will be included by the HTML page using the script element’s src attribute:

<script src=”path/to/file.js”></script>

Continue reading

Posted in Business Booster e-Tricks | Leave a comment