Saturday, 2 March 2013

JAVA SCRIPT: Types of Java script and how to use?


Welcome friends...

In this post we will see types of java script and more....

Types of Java Script

Java Script can classified into two types

            1.Internal Java Script
            2.External Java Script

Internal Java Script

Using <script> element placed code directly into the page or document.

<html>
<head>
<script type="text/javascript">
</script>
</head>
<body>

<script type="text/javascript">
</script>

</body>
</html>

External Java Script


  • The external java script is external file.
  • The external java script file extension is .js
  • The external java script can be inserted inside the <head></head>.
  • The external java script file can be inserted into multiple pages.
  • The external java script insert in following way


Syntax:


<head>
<script src="external javascript file path"></script>
</head>

Example:

1.external.js


// JavaScript Document
function show()
{
alert("welcome to my blog");

}

2.Index.html

<html>
<head>
<script src="external.js"></script>
<title>Java Script Examples</title>
</head>
<body onload="show()">
</body>
</html>

Important Rule of Java Script:


  • Java Script statements can be grouped together in blocks
  • Java Script is case-sensitive.
  • Sometime java script act not case sensitive in some cases.
  • Java script ingore's extra spaces
  • Java script break up a code we can use backslash(/).
  • Java script code each line ends with semo colon(;).
  • Java script variables and function names do not start with number.
  • Java script variables and function names do not used Java Script Reserved keyword like var,function


Java Script Comment line:


  • Basically comment line are used to developers in future refrence.
  • Java script comments will not executed browser. the browser ignored comment lines.
  • Types of Java script comment line
  • Singleline- Its used in single line and its Denoted by //
  • Multi line- Its used for set of code. Its Denoted /* codes*/


Ok friends...

NOTE:

Am list out Full java script syllabus.. if you learn full follow the below list out and workout the more examples.if you want any examples please comments here i will post after. the below topics are very basics so am post after section some important scripts and concepts only.

JAVA SCRIPT Syllabus:

JAVA SCRIPT Basics


  • JS Introduction
  • JS History
  • JS Variables
  • JS Data types
  • JS Operators
  • JS Conditional Statements
  • JS Control Statements
  • JS Function
  • JS Arrays
  • JS Exeception Handling


JAVA SCRIPT Advanced


  • JS Browser
  • JS Cookies
  • JS Validation
  • JS Timing
  • JS Objects



I will post some important concepts in above list please watch all lession..

Thank you






Friday, 1 March 2013

JAVA SCRIPT: What is Java Script function and Events?

JAVA SCRIPT: What is Java Script function and Events?

Hello friends...

Last post we see What is java script? I hope that lession useful to you!

In this post clearly we will see what is javascript function and events.

Ok  Lets come!

First one Question?- Whats is function?

Function:

              Already we know function. A Function is set of codes. often used code to be written in function and whenever need that function to called the fucntion will be excuted. Thats all !

Java Script Function


  • That same definition is for javascript. Additionally we know that function in here? Sometimes we want to execute a javascript when an event occurs, Such as onclick.
  • Then we can write into the script inside the function, and call the function when the event occurs.
  • If any function can be classified in two types

                                   1.User-defined Function
                                   2.Built-in Function

User-defined Function:

                   User defined Function is used created function. the fucntion can set of executed statements. when an event occurs these function we can called in our webpages. User defined fucntion create in following syntax

Syntax:

function functionname( )
{
 ..............executed codes
}

Example:

<script type="text/javascript">
function show( )
{
alert("Welcome to All");
}
</script>

Note:

 The javascript fucntion can be called in two ways that is

1. The fucntion can be directly in your script. like following way

<body>
<script type="text/javascript">
function show()
{
alert("welcome to our blog");
}
show();
</script>
</body>

2. Another way is any event occurs the function to be called in following way

<head>
<script type="text/javascript">
function show()
{
alert("welcome to our blog");
}
show();
</script>
</head>

<body onload="show()">

</body>



Built-in Function:

  In javascript many more built-in fucntion and methods available. This section see in later


Java Script Events:

    Already we know HTML Elements and Attributes. These section am explained Event Attributes. There are more Events Attributes available in Java Script. Majorly used event attributes am given following table format.


S.No Events Description
1 onload() Script runs when the page or document load.
2 onunload() Script runs when the page or document are closed.
3 onclick() Script runs when the HTML element to be clicked.
4 ondbclick() Script runs when the HTML element to be double clicked.
5 onfucus() Script runs when cursor having textbox,textare,password.
6 onblur() Script runs when cursor leaves from textbox,textare,password.
7 onchange() Script runs when cursor one field to change another. Its similer to onblur().
8 onsubmit() Script runs when the user submits a form.
9 onmouseover() Script runs when the mouse over the HTML Element.
10 onmouseout() Script runs when the mouse out of an HTML Element.

Examples:

Example 1.welcome message displayed in onload() event


<html>
<head>
<script type="text/javascript">
function show()
{
alert("welcome to our blog");
}
show();
</script>
<title>Javascript First Example</title>
</head>

<body onload="show()">
<h1>Java Script Onload Event</h1>
</body>
</html>

Output is:

Example 2.A button clicked a javascript function will be called


<html>
<head>
<script type="text/javascript">
function show()
{
alert("welcome to our blog");
}
show();
</script>
<title>Javascript Second Example</title>
</head>

<body>
<h1>Java Script Onlclick Event</h1>
<input type="submit" name="submit" value="Click Me" onclick="show()" />
</body>
</html>

Output:


Example 3: Image change mouse event 


<html>
<head>
<script type="text/javascript">
function show()
{
document.my.src="images/hs2.jpeg";
}
function show1()
{
document.my.src="images/new_up.jpeg";
}
</script>
<title>Mouse Event</title>
</head>

<body>
<h1>Java Script Mouse Event</h1>
<img src="images/hs1.jpeg" name="my" onmouseover="show()" onmouseout="show1()" />
</body>
</html>

Output:


Example 4: How to get HTML Elements value in Java Script?

We can use "id" attribute in following way

We can use document.getElementById("htmlelementid").innerHTML

This example 

<html>
<head>
<script type="text/javascript">
function show()
{
document.getElementById("para").innerHTML="Hello! How are you?";

}

</script>
<title>Manupulate HTML Elements</title>
</head>

<body>
<h1>Java Script Manupulation</h1>
<p id="para"> </p>
<input type="submit" name="submit" value="Show Javascript" onclick="show()" />
</body>
</html>

Out put is:


 I will give more example in each post  Please watch it. If you like comments here!

Thank you !



JAVA SCRIPT: What is Java Script?

Hi friends..

In this Lession we see what is javascript, and how to use javascript in webpages and what are all advantages of javascripts and more

Ok Lets come!


What is Java Script:
  • Java Script is client side scripting language.
  • Java Script is the world of web Document programming.
  • Java Script is the Scripting Language is a Lightweight programming that supports the writing of scripts.
  • Java Script was designed to add interact to HTML pages.
  • Java Script code that can be inserted into html page to be executed in web browsers.
Why is Java Script?
  • Java Script used for User interact with webpage.
  • Java Script is used in billion of Web Pages of Add functionality, Validate Forms, Communicate with the server and much more.
  • Java Script also used to Game creators, animators and Multimedia programmers.
Difference between Java and JavaScript?
  • JavaScript and java are two completely different language concept and design
  • JS is scripting language
  • JS developed by Netscape
  • Java is programming language
  • Java is developed by Sun 
JavaScript How is it works?

      A Java Script run in client side. the scripts will be executed in client browser. The following fig shown in Java Script working method.


How to use Java Script in your webpage?

A JS is surrounded by a <script></script> tag. JS used to manipulate HTML Elements.It can used ‘ID’ Attribute. Can JS can placed in side header section or body section. The best way you placed in <head></head>section.

Java Script Structure:

   <html>
           <head>
                    <script>
                              .......Java Script codes;
                   </script>
           </head>
           <body>
                      <script>
                            .......Java Script codes

                       </script>

          </body>
</html>

Note:

All modern browsers  and HTML 5 supported <script></script>tag.Otherwise you can use

                        <script type=”text/javascript>
                        </script>


Note:

First before you learn Java Script!  first you understand well in what is function? and What is events? and How to use function and events?.

Next lession i will post briefly

Thanks..







Monday, 25 February 2013

How to create a rounded corner or rounded box in html elements?

Hi friends welcome back to My Blog!

Last session we share how to make layouts in css. I hope last session is useful to you

Ok today we will see how to make rounded box in css

border-radius property is used for create rounded box.

Its so simple just you create div set width height and border and border-radius in following way
<style type="text/css">

.box
{
width:200px;
height:200px;
border:1px solid #FF0000;
border-radius:10px;
}

</style>

<body>
<div class="box"></div>
</body>

Output is:

If you add elemnts in rounded box use padding property in following way

<style>
.box
{
width:200px;
height:200px;
border:1px solid #FF0000;
border-radius:10px;
}
p
{
padding:50px;
}
</style>


<body>
<div class="box">
<p>This is rounded box</p>
</div>
</body>

Output is:

Rounded menu:


<style>
.box
{
width:1000px;
height:50px;
background-color:#00CCFF;
border:1px solid #FF0000;
border-radius:10px;
}
ul
{
list-style-type:none;
padding-left:0px;
}
li
{
color:#993300;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:18px;
display:inline;
padding-right:25px;
}
a
{
text-decoration:none;
}

</style>

<body>
<div class="box">
<ul>
<a href="#"><li>Home</li></a>
<a href="#"><li>About us</li></a>
<a href="#"><li>Services</li></a>
<a href="#"><li>Carrer</li></a>
<a href="#"><li>Training</li></a>
<a href="#"><li>Login</li></a>
</ul>
</div>
</body>


The output is:




Monday, 11 February 2013

How to easy make Layout using CSS?

Hi guyz!

Welcome back!!!!!

This section we will see how to make layout using CSS

Step 1: First you assing how many parts in your body section

ie


  • page
  • header
  • menu
  • content
  • footer

Step 2: Menu has two type (i.e) Horizantal menu vertical menu and content has two parts letf content and rightcontent


  • header
  • menu
    1. horizantal
    2. vertical
  • content
    1. leftcontent
    2. rightcontent
  • footer


  • Step3: Write CSS in page section and call the id in body section

    Write CSS in following way !
    <style type="text/css">

    #main_container
    {
    width:900px;
    height:500px;
    margin:0 auto;
    background-color:#00CC99;
    border:1px solid #006633;
    }

    </style>
    <body>

    <div id="main_container">

    </div>

    </body>

    Note: This code using for your page has been centered layout!




    Step4: Write CSS in   header section and call the id in main_container section

    Write CSS in following way !
    <style type="text/css">

    #header
    {
    width:900px;
    height:150px;
    border-bottom:10px solid #CC9900;
    }

    </style>
    <body>

    <div id="main_container">
    <div id="header"></div>

    </div>

    </body>



    Step5: Write CSS in  menu section and call the id in main_container  after the header section

    Write CSS in following way !
    <style type="text/css">


    #menu
    {
    width:900px;
    height:50px;
    border-bottom:1px solid #CC9900;
    }


    </style>
    <body>

    <div id="main_container">
    <div id="header"></div>
            <div id="menu"></div>
    </div>

    </body>


    Step6: Write CSS in  content section and the section divide into two parts 1.leftcontent 2.rightcontent. The left content id floated left and right content is floated right. After and call the id in main_container  after the menu section in following way

    <style type="text/css">



    #content
    {
    width:900px;
    height:300px;
    }
    #leftcontent
    {
    width:200px;
    height:300px;
    background-color:#99CC66;
    float:left;
    }
    #rightcontent
    {
    width:690px;
    height:300px;
    background-color:#99CC66;
    float:right;
    }



    </style>
    <body>

    <div id="main_container">
    <div id="header"></div>
            <div id="menu"></div>

           <div id="content">
    <div id="leftcontent"></div>
    <div id="rightcontent"></div>
    </div>

    </div>

    </body>


    Step7: Write CSS in  fotter section and call the id in main_container  after the content section

    <style type="text/css">




    #footer
    {
    width:900px;
    height:100px;
    background-color:#FF9900;
    }




    </style>
    <body>

    <div id="main_container">
    <div id="header"></div>
            <div id="menu"></div>

           <div id="content">
    <div id="leftcontent"></div>
    <div id="rightcontent"></div>
    </div>
            <div id="footer"></div>

    </div>

    </body>




    Step8: Thats done for your CSS Layout! Next add content(HTML elements) and add effect(styles).




    <head>
    <style type="text/css">
    #main_container
    {
    width:900px;
    height:600px;
    margin:0 auto;
    background-color:#99FF66;
    border:1px solid #006633;
    }
    #header
    {
    width:900px;
    height:100px;
    border-bottom:10px solid #CC9900;
    }
    #menu
    {
    width:900px;
    height:50px;
    border-bottom:1px solid #CC9900;
    }
    #content
    {
    width:900px;
    height:300px;
    }
    #leftcontent
    {
    width:200px;
    height:300px;
    background-color:#99CC66;
    float:left;
    }
    #rightcontent
    {
    width:690px;
    height:300px;
    background-color:#99CC66;
    float:right;
    }
    #footer
    {
    width:900px;
    height:80px;
    background-color:#FF9900;
    }
    #menu ul
    {
    list-style-type:none;
    padding-left:0px;
    }
    #menu li
    {
    display:inline;
    padding-right:20px;
    color:#FF0000;
    }
    .left
    {
    width:190px;
    height:150px;
    border:1px solid #009933;
    }
    #rightcontent h3
    {
    color:#006666;
    padding:20px;
    }
    #rightcontent p
    {
    padding:20px;
    text-align:justify;
    }
    </style>
    </head>
    <body>

    <div id="main_container">
    <div id="header"><h1>My BLog</div>
    <div id="menu">
    <ul>
    <li>Home</li>
    <li>About Us</li>
    <li>Services</li>
    <li>Carrer</li>
    <li>Training </li>
    <li>Contact Us</li>
    </ul>

    </div>
    <div id="content">
    <div id="leftcontent">
    <div class="left"><h4>Catagries</h4></div>
    <div class="left"><h4>Archives</h4></div>
    </div>
    <div id="rightcontent">
    <h3>Welcome to our website</h3>
    <p>CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layout, colors, and fonts.[1] This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for tableless web design). CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille-based, tactile devices. It can also be used to allow the web page to display differently </p>
    </div>
    </div>
    <div id="footer"><p align="center">Website design by XXXXXXX</div>
    </div>

    </body>

    The output is:






    Saturday, 9 February 2013

    Learn more CSS Properties?

     Hi friends....

    Welcome back to My Blog !

    Today we will see Basic CSS Properties and How to use?

    Basic CSS Properties


    • CSS Background
    • CSS Text
    • CSS Font
    • CSS Link
    • CSS List
    • CSS Box Model
    • CSS Margin
    • CSS Border
    • CSS Padding
    • CSS Floating
    • CSS Display
    • CSS Visibility

    Am share one by one... 

    First am share Background Properties

    CSS Background

    • CSS Background properties are used to defines the background of an element.
    • CSS properties used for background effects


    background-color background-image background-repeat background-Attachment Background-position
    The background-color property specifies the background color of an element.
    The color selected in 3 ways
    HEX Value
    RGB Value
    Name Value
    The background-image property specifies the background image of an element.
    Default the image is repeated, so it covers entire element
     
    This property used repeats ann image both horizantaly or vertically.
    and set background image how to displayed an element.
    you can set the image has no repaet or horizantally repaet or vertically repeat.
    This property specify the image has scroll or fixed This property specify the starting of background-image.
    You can set starting position in 2 ways

    Possible values in this property:

                               background-color:#FFF000;
                              background-image:url('bg.jpg');
                             background-repeat:no-repeat;
                             background-repea:repeat-x;
                            background-repea:repeat-y;
                       background-attchment:scroll;
                       background-attchment:fixed;
                          background-position:right;
                          background-position:20% 50%;

    Example:

    First am set width and height and background color my header section.
    <html>
    <head>
    <style>
    #header
    {
       width:1000px;
       height-:150px;
       background-color:#FFFF99;
    }
    </style>
    </head>
    <body>
      <div id="header">
               <h1>My Blog</h1>
      </div>
    </body>
    </html>

    Output is:

    Example:

    First am set width and height and background image my header section.

    <html>
    <head>
    <style>
    #header
    {
       width:1000px;
       height-:150px;
       background-image:url(logo.jpg);
    }
    </style>
    </head>
    <body>
      <div id="header">
               <h1>My Blog</h1>
      </div>
    </body>
    </html>

    Output is:

    Note: Default image will repeated, you may change use background-repeat property

    This example am set image no repeated!

    <html>
    <head>
    <style>
    #header
    {
       width:1000px;
       height-:150px;
       background-image:url(logo.jpg);
       background-repeat:no-repeat;
    }
    </style>
    </head>
    <body>
      <div id="header">
               <h1 align="center">My Blog</h1>
      </div>
    </body>
    </html>

    Output is;

    You can set starting position use background-position property.. please look following example


    <html>
    <head>
    <style>
    #header
    {
       width:1000px;
       height-:150px;
       background-image:url(logo.jpg);
       background-repeat:no-repeat;
       background-position:70% 10%;
    }
    </style>
    </head>
    <body>
      <div id="header">
               <h1 align="center">My Blog</h1>
      </div>
    </body>
    </html>

    Output is:






    CSS Text Properties:

        CSS Text Properties used to text formatting properties there are some text properties used often in your webpage.


    • text-color or color
    • text-align
    • text-decoration
    • text-transform
    • text-indent
          text-color or color property is used to set the color of the text,the color selected in 3 ways HEX value,RGB value and name value.
                 color :#CC0000;
                         :rgb(255,0,0);
                         :"pink";
          text-align properties is used to to set the horizantal align ment of a text.possible alignment is left,right,center,justify.
                              text-align:left;
                                            :right;
                                            :center;
                                            :justify;
         text-decoration is used to set/remove decoration from text. text-decoration mostly used to temove the underline from hyperlinks for design purpose.
                        text-decoration:none;
                                               :overline;
                                               :line-through;
                                               :underline;
                                               :blink;
    text-transform is used to specify the uppercase or lowercase letters in a text.
                          text-transform:uppercase;
                                               :lowercase;
                                               :capitalize;

    Other Text properties is
    letter-spacing
    vertical-spacing
    white-spacing
    word-spacing

    Example:
    <style>
    .textprop
    {
    color:#CC0000;
    text-align:right;
    text-transform:uppercase;
    text-decoration:underline;
    letter-spacing:2px;
    }
    </style>

    <body>
    <p>text-color or color property is used to set the color of the text,the color selected in 3 ways HEX value,RGB value and name value.</p>
    <a href="home.html">Back to Home</a>
    </body>

    The output is:

    Note : The above example the paragraph is make right alignment and letter spacing is 2px and decoration in underline, and transform is uppercase. The hyperlink displayed Underline.If you remove undeline use following codesin style
    a
    {
    text-decoration:none;
    }

    CSS Font:

    CSS Font properties define the font size, family,style,weight of a text.

    The CSS Font Properties are

    font-family
    font-size
    font-style
    font-variant
    font-weight

    CSS Links:

    Links are be styled in different ways. There are four link states available

    a:link
    a:hover
    a:visited
    a:active

    Example:
    <head>
    <style type="css/text">
    a
    {
    text-decoration:none;
    }
    a:link
    {
    color:#33FFCC;
    }
    a:visited
    {
    color:#336699;
    }
    a:hover
    {
    color:#FF0000'
    }

    </style>
    </head>
    <body>
    <a href="home.html">Home</a>
    <a href="about.html">About us</a>
    <a href="services.html">Services</a>
    <a href="training.html">Training</a>
    <a href="contact.html">Contact</a>
    </body>

    CSS Lists:

         CSS List property are allowed ordered and unordered or set image an List Item. There are three CSS List property available.

    list-style-type
    list-style-image
    list-style-position

    Example:

    <head>
    <style type="css/text">
    a
    {
    text-decoration:none;
    }
    a:link
    {
    color:#33FFCC;
    }
    a:visited
    {
    color:#336699;
    }
    a:hover
    {
    color:#FF0000'
    }
    ul
    {
    list-style-type:none;
    }
    li
    {
    width:200px;
    height:40px;
    }
    </style>
    </head>



    <body>
    <ul>
    <a href="home.html"><li>Home</li></a>
    <a href="about.html"><li>About us</li></a>
    <a href="services.html"><li>Services</li></a>
    <a href="training.html"><li>Training</li></a>
    <a href="contact.html"><li>Contact</li></a>
    </ul>
    </body>

    CSS Display and CSS Visibility

    Display property used to if how to an element to displayed that is block or inline
    Visibility property is usedto specify an element should be visible or hidden

    The above two property is used for major used for making horizantal and vertical menu.

    Block:
    Block is an element that takes up width and height. It use for vertical menu creation

    ul
    {
    list-style-type:none;
    display:block;
    width:500px;
    height:300px;
    background-color:#3366CC;
    }

    Inline
    An inline element only takes up as much widthnot necessary. it use for horizantal menu creation

    ul
    {
    list-style-type:none;
    }
    li
    {
    display:inline;
    }

    Hide an element:
    If you want hide an element in your webpage. it achive in two ways
    visibility:hidden;
    display:none;






    Learn CSS ID Vs CLASS

    Hi friends... Welcome back!

    Today will see CSS Id and Class. and how to use Id & Class.

    Ok Lets come!

    CSS Id:

            The Id selector is used to specify a style for a single,unique element.
            The Id selector is defined in "#"

    Syntax:



    CSS Class:

           The Class selector is used to specify a style for a group of elements.
           The Class selector is most often used several elements.
           The Class selector defined ".".

    Syntax:


    Example:


    <html>
    <title>CSS Example</title>
    <style type="text/css">
    #idselector
    {
    width:400px;
    height:200px;
    background-color:#FFFF99;
    border:1px solid #FF0033;
    }
    .classselector
    {
    width:400px;
    height:200px;
    background-color:#00CC66;
    border:1px solid #CC0033;
    }
    </style>
    </head>

    <body>
    <div id="idselector"><h1>Hello</h1></div>
    <br>
    <div class="classselector"><p>Google
    www.google.co.in/Indian version of this popular search engine. Search the whole web or only webpages from India. Interfaces offered in English, Hindi, Bengali, Telugu, Marathi .</p>
    </div>
    </body>
    </html>


    Outout is:





    Note: You want add Id and Class is same html elements or division like following example.

    Example 

    <div id="idselector" class="classselector">......</div> 


    Next section i will explain full CSS Property and how to use in your HTML Page!

    Thank you Guyz!

    Friday, 8 February 2013

    Lesson 4: Learn more HTML Layouts using Tables ?

    Hi friends welcome back to My Blog....

    Last lesson we learn make HTML Layouts. In this lesson we learn how to make different style of layouts.

    Ok lets come!

    First of all we know basic things of Layout. how to divide layout portions. simply we divide following parts


    • Header
    • Menu
    • Content
    • Left menu
    • Left content
    • Right content
    • Footer
    And you think how to order above parts in your webpage.

    Am here share some layouts model using HTML models in step by step....

    Step 1: First you think how many rows and columns and you want inner table also add in your table

    Step 2: For example am here make 3 rows and 1 columns. and 1 inner table 1 row 1 column.

    Step 3
                                     <table width="1000" border="1">
                                              <tr>
                                                     <td>Header</td>
                                               </tr>
                                                <tr>
                                                     <td>Insert inner table will soon</td>
                                                </tr>
                                                <tr>
                                                     <td>Footer</td>
                                                </tr>
                                      </table>
    Output is:




    Step 4:
     
                                     <table width="1000" border="1">
                                              <tr>
                                                     <td>Header</td>
                                               </tr>
                                                <tr>
                                                     <td>
                                                               <table width="200" border="1">
                                                            <tr>
                                                                             <td>Left menu</td>
                                                                 <td>Content</td>
                                                             </tr>
                                                        </table>
                                                   <</td>
                                                </tr>
                                                <tr>
                                                     <td>Footer</td>
                                                </tr>
                                      </table>

    Output is:



    Step 5: Layout is done ! And make adjust width and height and align and valign

                     <table width="1000" border="1">
                                       <tr>
                                                 <td height="108" valign="top">Header</td>
                                       </tr>

                                         <tr>
                                                <td height="349" valign="top">
                                                    <table width="987" height="326" border="1">
                                            <tr>
                                                         <td width="206" height="320" valign="top">left menu </td>
                                            <td width="707" valign="top">content</td>
                                            </tr>
                                                      </table>

                                        </td>
                                         </tr>

                                         <tr>
                                               <td valign="top">footer</td>
                                         </tr>
                        </table>

    Output is:


    Step 6: Ok fine! we add effect bgcolor or background image on header section.

    Step 7: Next add menu in left menu section using HTML List.

    Step 8: Next make web description on content section using Paragraph and image elements.

    Step 9: Next add footer section

                 <table width="1000"  cellpadding="0" cellspacing="0">
                      <tr>
                         <td height="108" valign="top" bgcolor="#0099FF"><h1>Training Blog</h1></td>
                    </tr>
                     <tr>
                          <td height="349" valign="top">
                                 <table width="996" height="349"  cellpadding="0" cellspacing="0">
                          <tr>
                                        <td width="221" height="343" valign="top" bgcolor="#66CCFF">
                                  <ul>
                                      <li>Home</li>
                                      <li>About Us</li>
                                       <li>Vision</li>
                                       <li>Mission</li>
                                      <li>Services</li>
                                      <li>Training</li>
                                      <li>Contact Us</li>
                                  </ul>
                        </td>
                        <td width="769" valign="top" bgcolor="#66CCFF">
                             <h4>Welcome to our website</h4>
                                    <p><img src="images/flowers.jpg" width="100" height="100" />                                                              is html page  This is html page  This is html page
     This is html page  This is html page  This is html page  This is html page  This is html page
       This is html page  This is html page  This is html page  This is html page  This is html page
     This is html page  This is html page  This is html page  This is html page  This is html page
       This is html page  This is html page  This is html page  This is html page  This is html page
     This is html page  This is html page  This is html page  This is html page  This is html page  
       This is html page  This is html page  This is html page  This is html page  This is html page
     This is html page  This is html page  This is html page</p>
    </td>
      </tr>
    </table>

    </td>
      </tr>
      <tr>
        <td valign="top" bgcolor="#0099FF"><p align="center">WEBSITE DESIGNED BY MARIS</p></td>
      </tr>
    </table>

    Output is:


    Step 10: Thank you !

    What is AI- Artificial Intelligence - தமிழில்

    Artificial Intelligence : Artificial intelligence leverages computers and machines to mimic the problem-solving and decision-making capabili...