Monday, May 5, 2014

About Programming Tutorials

We welcome you to Programming Tutorials. Praised as the best free webmaster resources online, by our users. If you are designing a website, then you can find all the resources you need for webmasters and web developers such as free programming tutorials, etc. Free website contents that help to develop, build, promote and maintain a web site.
Create a database using.
Identify different classes of users and create appropriate views of the database.
Create a web interface to the database for each class of user utilizing a programming language interface (PHP) to the.

The database laboratory exercises are open labs meaning that they are unscheduled but are expected to require 80-90 hours of activity. The programming oriented labs should be done in pairs. More ambitious projects will require a team effort which will provide an opportunity for a variety of roles - excellent resume material.
Several projects are available to cater to the goals and/or major of the student. Students are expected to commit to a project and a specific RDBMS early in the quarter. Neither the textbook nor the lectures may cover enough material to complete the project. You are expected to determine what additional materials are needed and obtain them in sufficient time to complete the project. You may
need to obtain
1. DBMS specific guides,
2. GUI interface programming guides, and
3. other materials.
Students who would like to work on a different problem may propose an alternative project at any point in the quarter. The project must be well-defined, approved by the instructor, and involve roughly the same amount of work as the remaining assignments.

Wednesday, January 22, 2014

Background Properties

CSS Background Image :
Usage: 
background-image: url('image.jpg');
 
background-image: none; 

Definition:
Background Image can be set using the tag background-image.
It takes the image in url as said in the example.

a) Url("image directory"). We have to set the image path inside the tag url. It accepts either of the given values.
b) None, if no background image is required.

Examples

Example 1:
<div style="background-image: url('test.jpeg');"> color name <br><br><br></div>
Result:

color name 



Example 2:
<font style="background-image: none; background-color: green; "> color using hex values <br><br><br><br></font>
Result:


color using hex values
 

Background Properties__CSS Background Color

BackGround Color

Usage: 
background-color: red; 
background-color: #343434; 
background-color: transparent; 

Definition:

Background Color in html can be set using the css property background-color.
It accepts values in two formats
 

a) Color name
b) #xxyyz where xx,yy,zz points to hexadecimal values of red,green,blue
c) Transparent background can also be set in css.

Examples
 

Example 1:

<font style="background-color: green;"> color name </font>
Result:

color name 

Example 2:

<font style="background-color: #888888;"> html text background using css</font>
Result:

html text background using css

Example 3:

<font style="background-color: transparent; color:green;"> transparent backgrounds can also be given using css</font>
Result:

transparent backgrounds can also be given using css


Background Properties_ CSS Text/Font Color

Property: Color

Usage:
 
color: red;
 
color: rgb(125,234,124); 
color: #343434; 

Definition:
Colors for html font/text can be set using the css tag "color". 
It accepts values in three formats
 

a) Color name
b) rgb(x,y,z) where x,y,z is red,green,blue
 
c) #xxyyz where xx,yy,zz points to hexadecimal(hex) values of red,green,blue

Examples

The following examples will show on how to set color for a font or text in html using css.
<div style="color: green;"> color name </div> <div style="color: rgb(125,125,125);"> color using rgb(x,y,z) </div> <div style="color: #343434;"> color using hex values</div>

Code:
 <div style="color: green;"> color name </div>
<div style="color: rgb(125,125,125);"> color using rgb(x,y,z) </div>
<div style="color: #343434;"> color using hex values</div>

Result:

color name

color using rgb(x,y,z)

color using hex values


Sunday, January 19, 2014

Types - External Style Sheet

This will be very useful when we have so many styles defined. We will want to take all the styles in to a different file. That's what we do in External CSS. We take all the styles in a external file and map it with the html page. 

Example:
We will put the following style in a text file say mystyle.css
<style>
.mystyle1
{
color: green;
background-color: orange;
}
</style>


In our head we will link to the external style sheet using the tag link in header portion
Tag:
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css"/>
</head>

The names used for user defined styles should not belong to any html tag. We set the style for the tag using the attribute "class".
Example1:

<font
 class=mystyle1> MY STYLE </font>
Result1: 
MY STYLE 

Example2:
<a href="index.php"
 class=mystyle1> MY STYLE </a>
Result2: 

Types - User Defined

Here user defines his own style and uses it anywhere he wants.

Code:
<head>
<style>
.mystyle1
{
color: green;
background-color: orange;
}
</style>
</head>

The names used for user defined styles should not belong to any html tag. We set the style for the tag using the attribute "class".

Example1:

<font
 class=mystyle1> MY STYLE </font>

Result: 

MY STYLE
 

Example2:

<a href="index.php"
 class=mystyle1> MY STYLE </a>

Result: 

Internal Styles - Identifiers

If we use internal styles with identifiers, we have to set the id for the style to take effect. 
Code:

<head>
<style>
a#test1
{
color: red;
background-color: orange;
}

a#test2
{
color: green;
background-color: yellow;
}
</style>
</head>


<a href="index.html" id=test1> Index </a><br><br>
<a href="index.html"
 id=test2> Index </a>

Now you can see how we have different styles for the same "a" tag. 

Note 1: If required you can using <span> instead of <div> tags. div tag will start and end on new lines. span will not exceed the tag area.