Free Web Designing Courses

   »   

Computer Education, Training & Tutorial Resources - ComputerEducationWorld.com
Home » Free Web Designing Courses »

Variables

Variables are memory locations that are given names and can be assigned values. We use variables to store data in memory for later use.

Variable names
Once a value is stored in a variable it can be accessed using the variable name. A variable name can consist of alphanumeric characters and the underscore. It cannot begin with a numeral, though. Note that variable names are case sensitive and first_name is not the same as FIRST_name.

Valid variable names
      first_name
      name2
      _car
      Average (more…)


• • •
 

The example demonstrates how to use JavaSript to write text on a web page.

<html>       

<body>       

<script type=”text/javascript”> 
document.write(”<h1>Hello World!</h1>”);       

</script>       

</body>       

</html>

Output:

Hello World!

(more…)


• • •
 

You have seen the border that surrounds every box  element, the padding that can appear inside each box and the margin that can go around them. In this tutorial we will how we can change the dimensions of boxes.

  • Height property is used to set the height of a box.
  • Width property is used to set the width of a box.
  • Line-height property is used to set the height of a line of text.
  • Max-height property is used to set a maximum height that a box can be.
  • Min-height property is used to set the minimum height that a box can be.
  • Max-width property is used to set the maximum width that a box can be.
  • Min-width property is used to set the minimum width that a box can be. (more…)


• • •
 

 CSS table  allow you to set the layout of a table.

Example…

<html>
<head>
<style type=”text/css”>
table.freedom
{
table-layout: automatic
}
</style>
</head>
<body>

(more…)


• • •
 



captcha PHP Script Free PHP captcha script free php
Website Design by WebWalas.com