webschool

How To Access PhpMyAdmin without cPanel login

Step-1: First of all download the PhpMyAdmin latest stable version form here Step-2: Next upload the the tar file (ex: phpMyAdmin-4.x.x-english.tar.gz) into public_html folder (root folder) of the shared hosting account and extract it. Rename the folder so that you can access it by friendly url like http://example.com/PhpMyAdmin. Step-3: All done, Now you can test your […]

Read More

How to Restrict File Upload Size in PHP, Max Script Execution Time Using .Htaccess

Restrict File Upload Size in PHP .htaccess allows you to set file upload values that directly affect your PHP applications. For instance, if you want to impose upload limits in PHP, so that you can prevent your hosting form garbage files. just add below line in your .htaccess file. php_value upload_max_filesize 20M Set Maximum Size […]

Read More

Basic HTML Page

The following How To’s show some basic steps for some of the more common tasks in HTML. Basic Web Page The following code can be used to frame a basic web page and includes the DOCTYPE, character encoding, title, and some content: <!DOCTYPE_cc html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> _cc <html> <head> <meta_cc http-equiv=”Content-Type” […]

Read More

Html Frames

Do You Really Want Them? Scroll down the page, see what happened? The top part of the page remained stationary while the rest of the page moved. That’s what’s called frames. A webpage with frames may look interesting but it can pose problems, not all browsers support frames, some search engines ignore web pages with […]

Read More

Div id vs Div class

One of the most popular questions among webdesigners starting to learn CSS is: What is the difference between id and class? First difference Ids are to be used only once in your html layout. Classes can be used multiple times. Generally ids are used for the main elements of the page, such as header, main […]

Read More

CSS Width and Height Properties

Height You can control the height of an element with the height property height: value; Values: auto length percentage Line Height You can control the height between lines with the line-heightproperty line-height: value; Values: normal number length percentage Max Height You can control the maximum height of an element with the max-height property max-height: value; […]

Read More

CSS Divisions

Divisions are a block level (X)HTML element used to define sections of an (X)HTML file. A division can contain all the parts that make up your website. Including additional divisions, spans, images, text and so on. You define a division within an (X)HTML file by placing the following between the <body></body> tags: <div> Site contents […]

Read More

CSS Borders

Border You can set the color, style and width of the borders around an element in one declaration by using the border property. border: 1px solid #333333; Values: color style width Or you can set each property individually Border Color You can set the color of a border independently with the border-color property. border-color: value; […]

Read More

CSS Spans

Spans are very similar to divisions except they are an inline element versus a block level element. No linebreak is created when a span is declared. You can use the span tag to style certain areas of text, as shown in the following: <span class=”italic”>This text is italic</span> Then in my CSS file: .italic{ font-style: […]

Read More

CSS Margin

CSS Margins are nearly identical to the CSS Padding attribute except for one important difference: a margin defines the white space around an HTML element’s border, while padding refers to the white space within the border. Setting the actual value of margin is just the same as with padding, so you can probably zip right […]

Read More