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
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.
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.
||Find all elements that are named tagname
||Find elements with ID of identifier
||Finds all elements that have class attribute with the value className
||Gets elements of type tag that have attribute with value of 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
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.
In earlier versions of HTML, the tag’s
script tags. When the browser loads the Web page, it will execute the code found there.